Download presentation
Presentation is loading. Please wait.
Published byKristopher Aron Chandler Modified over 9 years ago
1
LAB#1 CSC1101 1 st semster 1431-1432 H King Saud University College of Applied studies and Community Service Csc 1101
2
Start Microsoft Visual Studio 2005 2 Start → All Programs → Microsoft Visual Studio 2005 → Microsoft Visual Studio 2005
3
3 Starting for the first time The first time you run MSVS, you might get a window like this. Use General Development Settings if you have no preference.
4
4 Initial MSVS Dialog Here is an image of the initial MSVS Dialog.
5
5 Opening a New Project Open a project using File → New → Project…
6
6 Choose a Visual C++ Win32 Project Type Choose Win32 Console Application Enter a name for your project. Choose a Project Type and Name
7
Project Settings ä Choose Next > from the initial dialog.
8
8 Project Settings (continued) Be sure to select Empty project and Finish.
9
9 Add a New Item Right-click on Source File and Add a New Item.
10
10 Create a main.c Choose Visual C++ Code, C++ File named main.c.
11
11 Enter your program into main.c Enter a standard C program into main.c. You get to use your mouse, copy, paste, and everything!
12
12 Start your program Select Debug → Start without Debugging.
13
13 Examine your output Your program ran. Check it out!
14
14 Congratulations! You created a new Microsoft Visual Studio 2005 Project. Selected Visual C++ Win32 Console Application. Created your own main.c file, entering code just like in class. And started your program to produce output/ All of this using an easy editor and never logging onto the internet.
15
Reference http://www.cs.iupui.edu/~cs230/fall07/labs/lab0 1CompilingUnderMSVS.ppt http://www.cs.iupui.edu/~cs230/fall07/labs/lab0 1CompilingUnderMSVS.ppt
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.