-
A couple of Questions
I have recently started programming in C++. I can create simple console programs like calculators, guess the number games, etc. But I want to do more than that. So I have a couple of questions
When I compile a project, are all of the files in it compiled into one executable?
If so how do I include these other files? with #include?
Does anyone know of a good tutorial explaining all this?
How do I make Win32 (I guess thats what you call them) programs. Just something simple like a calculator. My compiler,Dev-C++, has a template to open a simple window but I cant manage to put any content in it. Does anyone know of a good tutorial for this?
Thanks
johnnabn
-
>>When I compile a project, are all of the files in it compiled into
>>one executable?
Yes.
//If so how do I include these other files? with #include?
yes, as far as .h files.
>>Does anyone know of a good tutorial explaining all this?
Sunlight has excellent Win32 tutorials.
>>How do I make Win32 (I guess thats what you call them)
>>programs. Just something simple like a calculator. My
>>compiler,Dev-C++, has a template to open a simple window
>>but I cant manage to put any content in it. Does anyone know
>>of a good tutorial for this?
I've never really used Dev C++, but with MSVC you choose to create a Win32 App from the File menu, look for something similar in your IDE. Maybe check out the compiler's help file or their website's FAQ.
-
You can add bitmaps, and other various data formats into resource templates.
-
dev-c++ does have a template for windows applications.. I'll read that tutorial thanks
-
some very good win32 tutorials at www.gametutorials.com and go to tutorials...go to win32... :)
also i am getting into win32 api myself..just bought myself a copy of "programming windows" by charles petzold..should be here feb 26...i cant wait..and thanks everyone for making that suggestion :)