I recently read "Data Structure" and want to write an algorithm in C language. I thought of using vc6.0. During my undergraduate course, I was very proud of the C language course. I had no choice but to try it for a long time, A helloworld cannot be written. It seems that both the language and IDE need to be met frequently. Otherwise, they will be unfamiliar with each other, and there will be little gossip. The following describes how to use vc6.0 to create a helloworld program.
1 open vc6.0, file -- New
2. Create a project file, enter the project name, select create an empty project, and click OK.
3. Create source files
File -- New -- select file tab -- select C ++ sourcefile, select Add to project, enter file name -- OK
4. write code
Write the following code in the source file you just created:
#include "stdio.h" void main(){printf("helloworld!\n");}
5 compile-run
The last one is the meaning of execution. The previous two people gave their relationships and asked the readers to check them themselves.
Build = compile+Link=ResultIsEXE
Compile=Compile=ResultIsDCU
The following is my execution result
Create a hello-world program using vc6.0