Download - CS 242 – Programming (1)
CS 240 Programming1
How to Create your First ProgramCS 242 Programming (1)1Create a Project2
Create a ProjectThis is the default location of the project31234Create a ProjectC:\Users\user\Documents\Visual Studio 2010\Projects
This Folder differs depending on your user name in your computer.4
Create a ProjectNow, the project is created and shown in the Solution Explorer5Create a ProjectIf 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:Yournamefor example: NoraAlAhmad6Create a Project7
1234
Create a Project8This is the folder name that you want to create the project in it123
Create a Project9Here, The Project location is a Folder on the desktop.Adding Source File(.cpp file)10You have to write your program in a file called Source File and its extension is .cppSo, you have to add a Source File to your project to write your program in it.
Adding Source File(.cpp file)111.First of all,The project should be selected2Adding Source File(.cpp file)12
1234Adding Source File(.cpp file)13
Here, you will write your program .ccp fileShould be under source files folderSave your program14
Exit VC++15
OR1.2.
Open a project16To open a previously created project, there are two ways:File Recent Projectsused if the project is recently created.File Open Project/SolutionOpen a project17File Recent ProjectsThen, choose the project.
Open a project18File Open Project/SolutionThen, Browse for the project file.
Open a project19
123Open a project20
21Open a project21
21How to locate the source file(.cpp)22
This the file that contains your code. This is what you should send to me.Project Name23How to print your code24
Make sure that the cursor is located HERE2526
Excercis2728Write a program that print this output using one line