# include < iostream.h >
void main()
{
count <<"I am a student.\n";
}
...全文
1153打赏收藏
请教高手:
请教高手: 我在学钱能的教材第7面运行简单的程序的过程中,我想用vc++6.0体会一下生成工程的感觉,请问1.下面这段代码应怎样加入vc++6.0才能生成工程。2.您能不能告诉我把这段代码加入vc++6.0的具体操作步骤???我真的刚学c++只一个星期,您别笑我啊!!谢谢!!! # include void main() { count <<"I am a student.\n"; }
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.