Creating C and C++ Projects :
NetBeans C/C++ support lets you create C and C++ Application and Library projects with generated makefiles, as well as C and C++ projects from existing code.
With a C/C++ Application, Dynamic Library, or Static Library project, the IDE controls all aspects of how your application is built, run, and debugged. You specify project settings when creating the project and in the Project Properties dialog box. The IDE generates a makefile in which all of your settings are stored.
Creating a C/C++ Application Project :
- Open the New Project wizard by choosing File > New Project.
- In the wizard, select the C/C++ category.
- The wizard gives you a choice of four types of new projects: C/C++ Project From Existing Code, C/C++ Application, C/C++ Dynamic Library, and C/C++ Static Library. Select C/C++ Application and click Next.
- Create a new C/C++ Application project from the wizard using the defaults. You can choose the name of the project and the location of the project.
- Click Finish to exit the wizard.
It is a way for you to organize your files and does not reflect where the files are physically stored on disk.
Files added to logical folders are automatically part of the project and are compiled when you build the project.
Files added to the Important Files folder are not part of the project and are not compiled when you build the project. These files are just for reference and are convenient when you have a project with an existing makefile.
No comments:
Post a Comment