-
Dev-C++ Question
Hello everyone on this forum, I am new here.
I have a question about my Dev-C++ compiler, version 4.9.9.2, when I create a new project, such as a DLL or Windows Application project, Dev-C++ will create a new project but also adds a source file with it, example source files, is there a way to change which source files there must be loaded when creating a new project file? Is that called template files?
Thanks in advance, Ktulu.
-
In Dev-C++, just create whatever code you would like to come up when you create a new project. Once you have the code, go to File->New->Template and the IDE will prompt you for a name, icon, and where to save the template to (ie. console app, windows app, other....) After that just click on New Project and select the templete you just created and your code will come up.
Just make sure when you first type in your code you include and lib's or other options that you code needs to compile. Like if you are doing a DirectX framework you need to include d3d9.lib, d3dx9.lib, ect... these includes will also be saved with you templete
-
-
Urgh, can't really do much with Dev-C++ templates :(.
-
What do you want to do? Project templates usually aren't all that compicated.
-
As a metter fact, they even are to little complicated... you can't create folders in the template.
-
You what?
Hmm... templates are text files that contain code. How would you squeeze folders into it?
-
* Smashing head against wall *
In Dev-C++ you can create projects, if you create a basic project for something, set up certain options and source files in it, you also can add 'folders' in your project, in example a folder for the Source Files, or a folder for the Header Files, etc. If the basic project is done you can create a template of it but the folders are not created in the template.
-
When you load the templete dev-c++ will ask you where to save the file(s) to. Just create whatever folders you want and save the file(s) to those folders.
-
Not on your harddisk, virtual in your .dev project file.
-
-
-
I know. Why would you want them in a template?
-
I guess he wants to make huge templates.
-
Which defeats the purpose...