Your SlideShare is downloading. ×
Introduction to C++
Introduction to C++
Introduction to C++
Introduction to C++
Introduction to C++
Introduction to C++
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to C++

646

Published on

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
646
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
25
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. FP 201-PROGRAMMING FUNDAMENTALSINTRODUCTION TO MICROSOFT VISUAL STUDIO 20081. Microsoft Visual Studio 2008 User Interface a. Main menu b. Tool bar c. Developer window2. Creating Visual C++ Win32 Console Application To start writing a new program in Visual C++, do the following: a. Click on the File menu and choose New, then Project. This gives you the dialog box to create one. b. Choose Visual C++ à Win32à Win32 Console Application. 1
  • 2. FP 201-PROGRAMMING FUNDAMENTALSc. Name your project with the appropriate name and click OK.d. You will be prompt with the following wizard and go to Application Setting.e. Follow the following setting and click Finish. 2
  • 3. FP 201-PROGRAMMING FUNDAMENTALS3. Creating Source FileNow that we have a project, we need to create a file to hold our C++code.a. Go to Solution Explorer and you will find 3 folders as follow: 3
  • 4. FP 201-PROGRAMMING FUNDAMENTALSb. Right click folder Source File à go to Add à go to New Item.c. You will be prompt with the following screenshot. Go to Visual C+ + à Code à C++ File (.cpp)d. Type your file name (in this case, name it with tutorial.cpp) and click Add. 4
  • 5. FP 201-PROGRAMMING FUNDAMENTALSe. If you want to add another new file into existing Project, make sure you remove the existing file first before repeating step b, c and d.4. Writing a Program 5
  • 6. FP 201-PROGRAMMING FUNDAMENTALS5. Compiling and Linking6. Running the Program 6

×