introducing with microsoft visual c++ software development environment

20
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 1

Upload: mingan

Post on 20-Jan-2016

33 views

Category:

Documents


1 download

DESCRIPTION

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 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introducing with Microsoft visual C++ software development Environment

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

1

Page 2: Introducing with Microsoft visual C++ software development Environment

How to open Microsoft visual studio?

• Click on start menu• choose All Programs from the

popup menu, • then choose Microsoft Visual

Studio

2

Page 3: Introducing with Microsoft visual C++ software development Environment

Environment for visual C++

3

Page 4: Introducing with Microsoft visual C++ software development Environment

How to create a project? (Step-1)

4

Select new then click on project

Page 5: Introducing with Microsoft visual C++ software development Environment

How to create a project? (Step-2)

Select this

Put file name 5

GettingStartedOOP

GettingStartedOOP

Page 6: Introducing with Microsoft visual C++ software development Environment

Project environment

6

Project

Name

Project

NameHeader FilesHeader Files

Source FilesSource Files

Automatically Created By Visual Studio 2010

Replace it with int main()

insert #include<iostream>using namespace std;

Page 7: Introducing with Microsoft visual C++ software development Environment

How to create a file? (Step-1)

Select source

7

Page 8: Introducing with Microsoft visual C++ software development Environment

How to create a file? (Step-2)

Put file name

8

MyAPP

Page 9: Introducing with Microsoft visual C++ software development Environment

How to create a file? (Step-3)

9

Page 10: Introducing with Microsoft visual C++ software development Environment

How to create a file? (Step-4)

10

Page 11: Introducing with Microsoft visual C++ software development Environment

How to compile and execute?

• Compile:CTRL+F7

• Executing: CTRL+F5

11

Page 12: Introducing with Microsoft visual C++ software development Environment

Output

Output

12

Page 13: Introducing with Microsoft visual C++ software development Environment

How to Add multiple .h file (step-1)

Select Header file

13

All .h files are placed in Header Files

All .h files are placed in Header Files

Page 14: Introducing with Microsoft visual C++ software development Environment

How to Add multiple .h file (step-2)

Select .h file

Put file name

14

MyHeader

Page 15: Introducing with Microsoft visual C++ software development Environment

How to add multiple .cpp file (step-1)

15

Select Source Files

All .cpp files are placed in Source Files

All .cpp files are placed in Source Files

Page 16: Introducing with Microsoft visual C++ software development Environment

How to add multiple .cpp file (step-2)

16

Select C++

File(.cpp)

Insert File Name

HelperApp

Page 17: Introducing with Microsoft visual C++ software development Environment

How to open existing project? (step-1)

17

Select Open

Then Click Project/ Solution

Page 18: Introducing with Microsoft visual C++ software development Environment

How to open existing project? (step-2)

18

Page 19: Introducing with Microsoft visual C++ software development Environment

How to open existing project? (step-3)

19

Page 20: Introducing with Microsoft visual C++ software development Environment

Project environment

20

Project

Name

Project

NameHeader FilesHeader Files

Source FilesSource Files