0% found this document useful (0 votes)
66 views6 pages

CreateVC++6 Visual C++ 6.0

1) Launch Visual C++ 6.0 and create a new project. Select "Win32 Console Application" and name your project. 2) Add a new C source file to your project. Name the file with a .c extension. 3) Type your C source code into the editing window. Compile and build your program to create an executable that can be run in a DOS window.

Uploaded by

WinMetro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views6 pages

CreateVC++6 Visual C++ 6.0

1) Launch Visual C++ 6.0 and create a new project. Select "Win32 Console Application" and name your project. 2) Add a new C source file to your project. Name the file with a .c extension. 3) Type your C source code into the editing window. Compile and build your program to create an executable that can be run in a DOS window.

Uploaded by

WinMetro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

How to Create a C Program with Visual C++ 6.

0
After launching the VC++ 6.0 application, you arrive at the main IDE screen:
! "rom the File menu, choose New.
#his $ill %ring up the &e$ 'ialog $in'o$:
(! )n'er the Projects ta%, highlight *in+( Console Application.
+! "ill in the Project name an' Location $here you $ant the pro,ect store'. -&ote: #his $ill %e the
name of the .ro,ect, not the C /le!:
0! .ress 12
#his %rings up the Win! Console Application "tep # o$ # *in'o$:
3! Choose An empt% project an' clic4 the Finish %utton.
#his %rings up the New Project in$ormation $in'o$:
6! Clic4 &' on the ne$ .ro,ect information $in'o$:
5ou $ill no$ %e in the IDE $ith your pro,ect open:
6! 7ince $e are $riting C an' not C++, it is %est to clic4 the File View ta% at the %ottom left.
#he vie$ $ill change to:
5ou can no$ see all of the /les associate' $ith your pro,ect at the left8
9ut since you ,ust create' the pro,ect, there are no /les yet.
:! #o a'' a /le to your pro,ect8 Choose New from the File menu.
#he New 'ialog %o; appears:
<! 7elect C++ 7ource /le on the left si'e of the screen -&1#E: *e use C++ source /le even though $e
$ill %e creating a C source /le!.
0! )n'er File name(, type the name of your ne$ source /le. -I=.1>#A&#: =a4e sure that your source
/le has the e;tension .c an' &1# .cpp!
! Clic4 12.
5our ne$ source /le $ill no$ %e open on the screen, rea'y for e'iting:
Also note that your /le no$ appears un'er the "ource Files fol'er at the left.
(! #ype your source co'e in the e'iting $in'o$:
+! *hen you are rea'y to compile, choose Compile from the )uil* +enu -or use C#>?@"6!.
Errors an $arnings $ill %e liste' at the %ottom of your screen.
0! Eliminate all errors an' compile again.
*hen your program has successfully compile', you are rea'y to %uil' it -ma4e an e;ecuta%le!.
3! Choose )uil* from the )uil* menu.
6! After the %uil' is successful, you may run your program %y choosing ,-ecute from the )uil* menu.
If all goes $ell, your program shoul' launch in a D17 $in'o$:
*hen you are all /nishe', choose Close *or4space from the File menu.

You might also like