请教高手:

lxylxylxy 2004-05-06 03:40:05
请教高手:
我在学钱能的教材第7面运行简单的程序的过程中,我想用vc++6.0体会一下生成工程的感觉,请问1.下面这段代码应怎样加入vc++6.0才能生成工程。2.您能不能告诉我把这段代码加入vc++6.0的具体操作步骤???我真的刚学c++只一个星期,您别笑我啊!!谢谢!!!

# include < iostream.h >
void main()
{
count <<"I am a student.\n";
}


...全文
115 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
13LunAr 2004-05-06
  • 打赏
  • 举报
回复
To begin, select New from the File menu. In the New dialog box, pick the Projects tab. Select Win32 Application. In the Location field, select a subdirectory. In the Project Name field, type the name of the project, which in this case is HelloMsg. This will be a subdirectory of the directory indicated in the Location field. The Create New Workspace button should be checked. The Platforms section should indicate Win32. Choose OK.
A dialog box labeled Win32 Application - Step 1 Of 1 will appear. Indicate that you want to create an Empty Project, and press the Finish button.

Select New from the File menu again. In the New dialog box, pick the Files tab. Select C++ Source File. The Add To Project box should be checked, and HelloMsg should be indicated. Type HelloMsg.c in the File Name field. Choose OK.


这是windows程序设计中的第一个程序的说明,把其中的win32 apllication改成win32 console application, 就ok了。
13LunAr 2004-05-06
  • 打赏
  • 举报
回复
file->new->projects->win32 console application
输入project name, ok;
然后file->new->files->c++ source file
输入file name, ok
copy进去,就可以了。
lxylxylxy 2004-05-06
  • 打赏
  • 举报
回复
帮帮我啊!求大家了,谢谢!!!

64,649

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧