[Dev-C++] what is a resource? how do I create my own headers?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alan T. <ala...@3n...> - 2001-01-04 01:48:27
|
Two questions:
(a) What is a "resource" file? Is it relevant for a [DOS] console program?
Where is it documented what to do with a resource file?
I created a new project (console application) and added three
existing files (two cpp{one with a main function, another with other
functions} and one header file. Asked it to Compile the project, but it
gave me an error with the resources ("no resources"). Tried again with a
new, empty project. Added files but got same error when I attempted to
compile.
(b) How do I save/use a header file?
I have some functions. Wrote and tested them. Took the function
prototypes and #includes, and made them the header file. Included it
(#include "html.h") in my file with the main function. Took the rest ---
the function definitions --- and made them the .cpp file. Is this the way
you use a header file?
Where is this documented or described?
Thanks, Alan
|