Templates are a neat feature of Dev-C++. They are
what the name implies - a blueprint for future
projects. All the template definition files
(.template extension) as well as the files in the
template, such as .cpp, .cpp, .h, .rc files, etc., are
stored in the \Templates directory based on the
directory where you installed Dev-C++ (by default,
C:\dev-Cpp).
To create a template, do the following:
1) Create a project.
2) Add the files that will be in the template to the
project.
3) Select File-New Template... from the Dev-C++
menu.
You'll be presented with a tabbed window, where you
can define the name, description, category, icon,
files to include, compiler and linker settings, and so
on.
Once you've saved the template, you can create a
project based on the template by selecting
File-New-Project... Templates are a great feature
because you can define standard project settings. In
a team environment, this can be a lifesaver.
Ira Krakow
ikr...@ya...
|