News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Creating a New Project

Started by sukishan, Aug 13, 2009, 12:48 PM

Previous topic - Next topic

sukishan

A project groups together all of the files associated with one of your programs and stores them in the project's directory. Especially when you start creating programs with the source code stored in more than one file it will be important to group things into projects.

However, even for a program with a single C++ source file, it helps a lot to use a project to keep your code separate from the files for other programs.
To create a new project, select File, New and click on the Projects tab. Click on Win32 Console Application. Fill in a project name, which can be the same name as the main source file (without the .cpp). For example, hw4 would be a reasonable project name.

The location shown should be correct, but check that it is set to be a subdirectory of your workspace directory. Make sure the radio buttons are set to select Add to current workspace. Do not use Create a new workspace. The "Dependency of" check box should not be checked.

Finally, click OK. At the next screen make sure that the radio button labeled An empty project is selected and click Finish. Click OK on the next screen. You now have a new, empty project.
A good beginning makes a good ending

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview