Download presentation
Presentation is loading. Please wait.
Published byCody Miles Modified over 9 years ago
1
How to Create your First Program CS 242 – Programming (1) 1
2
Create a Project 2
3
This is the default location of the project 3 1 2 3 4
4
Create a Project C:\Users\user\Documents\Visual Studio 2010\Projects This Folder differs depending on your user name in your computer. 4
5
Create a Project Now, the project is created and shown in the Solution Explorer 5
6
Create a Project If you want to save your project in a folder on the desktop. How to do it? Create a folder on the desktop, give it a name: Yourname for example: NoraAlAhmad 6
7
Create a Project 7 1 2 3 4
8
8 This is the folder name that you want to create the project in it 1 2 3
9
Create a Project 9 Here, The Project location is a Folder on the desktop.
10
Adding Source File(.cpp file) 10 You have to write your program in a file called Source File and its extension is.cpp So, you have to add a Source File to your project to write your program in it.
11
Adding Source File(.cpp file) 11 1. First of all, The project should be selected 2
12
Adding Source File(.cpp file) 12 1 2 3 4
13
Adding Source File(.cpp file) 13 Here, you will write your program.ccp file Should be under source files folder
14
Save your program 14
15
Exit VC++ 15 OR 1.2.
16
Open a project 16 To open a previously created project, there are two ways: File Recent Projects used if the project is recently created. File Open Project/Solution
17
Open a project 17 File Recent Projects Then, choose the project.
18
Open a project 18 File Open Project/Solution Then, Browse for the project file.
19
Open a project 19 1 2 3
20
Open a project 20 2 1
21
Open a project 21 2 1
22
How to locate the source file(.cpp) 22
23
This the file that contains your code. This is what you should send to me. Project Name 23
24
How to print your code 24
25
Make sure that the cursor is located HERE 25
26
26
27
Excercis 27
28
28 Write a program that print this output using one line
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.