creating a project with c++ builder
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 PresentationTRANSCRIPT
![Page 1: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/1.jpg)
1
Creating a Project with C++ Builder
And with Quincy
![Page 2: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/2.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/3.jpg)
3
Console Wizard
Take the default options on the Console Wizard
Click on Finish
![Page 4: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/4.jpg)
4
Adapting the Window
Save As this project to the desired
directorywith the desired
name
![Page 5: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/5.jpg)
5
Adding Files to the Project
PulldownProject
Add to projectSpecify file
![Page 6: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/6.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/7.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/8.jpg)
8
Running the Project
Choose the Run option (button, pulldown menu, or F9)
![Page 9: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/9.jpg)
9
Output Window
Project runs in an output window
Properties ofoutput windowcan be adjusted
![Page 10: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/10.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/11.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/12.jpg)
12
Using Quincy
From the Quincy heading click on File and New
Choose Project
![Page 13: Creating a Project with C++ Builder](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/13.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/14.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/15.jpg)
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](https://reader031.vdocuments.site/reader031/viewer/2022033101/56813592550346895d9d024b/html5/thumbnails/16.jpg)
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