I am just beginning to learn C/C++ and have chosen to do so using the Dev-C++ package. I am currently using 4.9.5.0 on a Dell Dimension 4100, Win2k Operating System.
After searching through the bloodshed.net resources and online manuals, the only really helpful "software manual" I was able to find was Mike Serrano's "Dev-C++ Tutorial for CSC 161 Students". Reading this did enable me to properly create an empty new project and add a source file to that project.
However, I didn't find any information about the following:
(1) What are the "Windows Application", "Console Application", "Static Library", and "DLL" options for when choosing New -> Project from the File menu?
(2) Why would anyone want to use a project to enclose more than one source file?
(3) What does adding a resource file or a template to your current project do?
I apologize in if these are silly questions. I know that Visual C++ has many manuals available, but I haven't been able to find a good manual that fully describes the functionality of Dev-C++. If such a creature exists, it would be great to get pointed in that direction!
Thanks in advance for the help!
Sincerely,
david
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) windows application: like the browser you are using now
console application: all those old DOS apps and games you might have lying around use a console when they are started from windows.
static library: a library (group of functions and definitions) that is linked with your program at compile time.
DLL or dynamic link library: a library that is linked when your program runs, easier to replace/upgrade.
2) You would put more then one source file in your project to "split up" your program. It makes your code more organized and easier to understand with medium-large programs.
3) Resource files contain the definitions of things like menus, icons, graphics, buttons and others.
I dont really understand templates yet so I cant answer that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A lot of the code in each windows application is the same. The same goes for consoles applications, static librarie and dlls. Instead of having to retype the code that is common to each of these project types, Dev-C++ allows you to create a new project with all of this code written already.
Windows applications have graphical user interfaces that are made up of visual controls like buttons, scrollbars, etc.
Console applications are usually text-based applications that are run from the DOS-Prompt (aka Command Prompt, aka console).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am just beginning to learn C/C++ and have chosen to do so using the Dev-C++ package. I am currently using 4.9.5.0 on a Dell Dimension 4100, Win2k Operating System.
After searching through the bloodshed.net resources and online manuals, the only really helpful "software manual" I was able to find was Mike Serrano's "Dev-C++ Tutorial for CSC 161 Students". Reading this did enable me to properly create an empty new project and add a source file to that project.
However, I didn't find any information about the following:
(1) What are the "Windows Application", "Console Application", "Static Library", and "DLL" options for when choosing New -> Project from the File menu?
(2) Why would anyone want to use a project to enclose more than one source file?
(3) What does adding a resource file or a template to your current project do?
I apologize in if these are silly questions. I know that Visual C++ has many manuals available, but I haven't been able to find a good manual that fully describes the functionality of Dev-C++. If such a creature exists, it would be great to get pointed in that direction!
Thanks in advance for the help!
Sincerely,
david
1) windows application: like the browser you are using now
console application: all those old DOS apps and games you might have lying around use a console when they are started from windows.
static library: a library (group of functions and definitions) that is linked with your program at compile time.
DLL or dynamic link library: a library that is linked when your program runs, easier to replace/upgrade.
2) You would put more then one source file in your project to "split up" your program. It makes your code more organized and easier to understand with medium-large programs.
3) Resource files contain the definitions of things like menus, icons, graphics, buttons and others.
I dont really understand templates yet so I cant answer that.
A lot of the code in each windows application is the same. The same goes for consoles applications, static librarie and dlls. Instead of having to retype the code that is common to each of these project types, Dev-C++ allows you to create a new project with all of this code written already.
Windows applications have graphical user interfaces that are made up of visual controls like buttons, scrollbars, etc.
Console applications are usually text-based applications that are run from the DOS-Prompt (aka Command Prompt, aka console).