170 likes | 385 Views
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
E N D
Creating a Project with C++ Builder And with Quincy
Starting a New Project • Choose File, then New • Note the options which appear • Choose the Console Wizard
Console Wizard • Take the default options on the Console Wizard • Click on Finish
Adapting the Window • Save As this project • to the desired directory • with the desired name
Adding Files to the Project • Pulldown • Project • Add to project • Specify file
Note Changes to Edit Windows • New tab with that file • References in code of main program
Include File • Specify #include "xxx.h"for project • Also need #include <conio.h>for getch() to pause at end of output
Running the Project • Choose the Run option • (button, pulldown menu, or F9)
Output Window • Project runs in an output window • Properties ofoutput windowcan be adjusted
Accessing Output • Output window cannot be printed directly • Instead, Right click top boarder • Select Mark • Block off with mouse • Then selectCopy • Place text ina text editorfor printing
Using Quincy • It is a good idea to create a new directory to place all your .h and .cpp files for the project
Using Quincy • From the Quincy heading click on File and New • Choose Project
Creating a Project • Specify … • The name of the .exe file and … • The directory where you will have the .h and .cpp files • Use the defaultConsole option
Adding Files to the Project • The project window appears • Specify files to be added to the window • the .cpp class files • the .cpp with main()
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
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