Create a hello-world program using vc6.0

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.