fobits wrote:After creating a new workspace and project, how do you add existing .cpp, .h and .rc files to it? There is nothing in the on-line tutorial about it and I don't see the option anywhere.
Files can be added to virtual folders only and not directly to a project
Your tree should look something like this:
Code: Select all
Workspace
|------project
|--- Folder
|----Folder2
To add a "Folder" - right click on the project and select "New Virtual Folder". Now right clicking on the virtual folder will give you menu with entries like "Add new file", "Add an existing file" etc.
Virtual folders does not really exists on the disk, they are entities that allows you to organize your code, usually people create folders named "src" and one named "include" etc
If you create console project of type "Simple executable (g++)" (from the main menu: workspace -> new project) it will create by default the following layout for you:
Code: Select all
Workspace
|------project
|--- src
|--- main.cpp
@nicenick:
Besides,I wrote a small simple program like "hello,world" under an existing workspace and an existing project,and failed to build and run it.
Create a "Simple executable (g++)" (from the main menu: workspace -> new project), open teh main.cpp file and replace its content with your
Hit F7 ...
Eran