Introduction to C++
Upcoming SlideShare
Loading in...5
×
 

Introduction to C++

on

  • 733 views

 

Statistics

Views

Total Views
733
Views on SlideShare
618
Embed Views
115

Actions

Likes
1
Downloads
20
Comments
0

1 Embed 115

http://asan-fp201.blogspot.com 115

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction to C++ Introduction to C++ Document Transcript

    • 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
    • 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
    • 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
    • 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
    • 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
    • FP 201-PROGRAMMING FUNDAMENTALS5. Compiling and Linking6. Running the Program 6