16
1 Creating a Project with C++ Builder And with Quincy

Creating a Project with C++ Builder

Embed Size (px)

DESCRIPTION

Creating a Project with C++ Builder. And with Quincy. Starting a New Project. Choose F ile, then N ew Note the options which appear Choose the Console Wizard. Console Wizard. Take the default options on the Console Wizard Click on F inish. Adapting the Window. Save A s this project - PowerPoint PPT Presentation

Citation preview

Page 1: Creating a Project with C++ Builder

1

Creating a Project with C++ Builder

And with Quincy

Page 2: Creating a Project with C++ Builder

2

Starting a New Project

Choose File, then New

Note the options which appear

Choose the Console Wizard

Page 3: Creating a Project with C++ Builder

3

Console Wizard

Take the default options on the Console Wizard

Click on Finish

Page 4: Creating a Project with C++ Builder

4

Adapting the Window

Save As this project to the desired

directorywith the desired

name

Page 5: Creating a Project with C++ Builder

5

Adding Files to the Project

PulldownProject

Add to projectSpecify file

Page 6: Creating a Project with C++ Builder

6

Note Changes to Edit Windows

New tab with that file

References in code of main program

Page 7: Creating a Project with C++ Builder

7

Include File

Specify #include "xxx.h" for project

Also need #include <conio.h> for getch() to pause at end of output

Page 8: Creating a Project with C++ Builder

8

Running the Project

Choose the Run option (button, pulldown menu, or F9)

Page 9: Creating a Project with C++ Builder

9

Output Window

Project runs in an output window

Properties ofoutput windowcan be adjusted

Page 10: Creating a Project with C++ Builder

10

Accessing Output

Output window cannot be printed directly

Instead, Right click top boarder Select Mark Block off

with mouse Then select

Copy

Place text ina text editorfor printing

Page 11: Creating a Project with C++ Builder

11

Using Quincy

It is a good idea to create a new directory to place all your .h and .cpp files for the project

Page 12: Creating a Project with C++ Builder

12

Using Quincy

From the Quincy heading click on File and New

Choose Project

Page 13: Creating a Project with C++ Builder

13

Creating a Project

Specify …The name of the .exe file and …The directory where you will have the .h

and .cpp filesUse the default

Console option

Page 14: Creating a Project with C++ Builder

14

Adding Files to the ProjectThe project window appears

Specify files to be added to the window the .cpp class files the .cpp with main()

Page 15: Creating a Project with C++ Builder

15

Working with the Project

The files you specify are listed in the project window

Double click on the file name to load the file into the editor

Page 16: Creating a Project with C++ Builder

16

Running the Program

Click on the Run icon or …

Press the F9 key or …

Use the Debug pull down menu and choose Run

If the files need to be recompiled or rebuilt, Quincy will do so or ask to do so