210 likes | 394 Vues
Introducing with Microsoft visual C++ software development Environment. Instructor: Professor Brian J. d'Auriol, Ph.D. TA: Rossi Kamal Course: Advanced Object Oriented Programming September, 2011. How to open Microsoft visual studio?. Click on start menu
E N D
Introducing with Microsoft visual C++ software development Environment Instructor: Professor Brian J. d'Auriol, Ph.D. TA: Rossi Kamal Course: Advanced Object Oriented Programming September, 2011
How to open Microsoft visual studio? • Click on start menu • choose All Programs from the popup menu, • then choose Microsoft Visual Studio
How to create a project? (Step-1) Select new then click on project
How to create a project? (Step-2) Select this GettingStartedOOP Put file name
Project environment Project Name insert #include<iostream> Header Files using namespace std; Source Files Replace it with int main() Automatically Created By Visual Studio 2010
How to create a file? (Step-1) Select source
How to create a file? (Step-2) Put file name MyAPP
How to compile and execute? • Compile: CTRL+F7 • Executing: CTRL+F5
Output Output
How to Add multiple .h file (step-1) Select Header file All .h files are placed in Header Files
How to Add multiple .h file (step-2) Select .h file Put file name MyHeader
How to add multiple .cpp file (step-1) Select Source Files All .cpp files are placed in Source Files
How to add multiple .cpp file (step-2) Select C++ File(.cpp) HelperApp Insert File Name
How to open existing project? (step-1) Select Open Then Click Project/ Solution
Project environment Project Name Header Files Source Files