A couple of questions
First of all, I know the C language and I''m just starting to learn C++, I''m also studying Windows game programng at the same time, so that''s where all my questions are coming from.
What is a Handle?
What is and Instance?
Why is VC++ so stupid? ( you don''t have to answer that )
Actually, when I try to compile programs that work fine on other compilers, for whatever reason it dosen''t like them, but this could just be something I''m missing.
Should I really be studying windows programming if I plan on developing for Consols and Arcade machines in the long run, but want to practice on game coding now?
finally, what are these things
#include stdafx.h
#include resource.h
thanx
-Sage13
I am new to this stuff too, and I can only answer a couple of questions:
Q - What is #include stdafx.h
A - A header file that Visual C++ makes that you can put the header declarations in.
Q- What is #include resource.h
A- This has some defines for a resource script. A resource is comprised of dialog boxes, bitmaps, sound files etc that are linked in to your program and compile time.
Sorry I couldn''t be of more help, but lets face it, im a newbie :p
Q - What is #include stdafx.h
A - A header file that Visual C++ makes that you can put the header declarations in.
Q- What is #include resource.h
A- This has some defines for a resource script. A resource is comprised of dialog boxes, bitmaps, sound files etc that are linked in to your program and compile time.
Sorry I couldn''t be of more help, but lets face it, im a newbie :p
Visual C++ is not fully standards compliant, but there are only a few cases where this is true, so most likely if your code won't compile it's because of your project settings or something. When learning C++, you should focus on learning the language and not try to learn something else at the same time.
Yes, you should learn Windows programming, because you'll find it much harder to get into console development if you've never made a game before. Also, console programmers don't just write stuff for the console itself. You may be required to write a map editor or something. Tools like that are not programmed for the console, but a normal computer, so it would be useful to learn how to do that.
Finally, If the book you are reading (assuming you are learning from a book) does not tell you what a handle is, it probably isn't a good book. Try out Programming Windows by Charles Petzold, or Windows 98 Programming from the Ground Up by Herbert Schildt.
Edited by - Midnight Coder on August 22, 2001 11:59:07 PM
Yes, you should learn Windows programming, because you'll find it much harder to get into console development if you've never made a game before. Also, console programmers don't just write stuff for the console itself. You may be required to write a map editor or something. Tools like that are not programmed for the console, but a normal computer, so it would be useful to learn how to do that.
Finally, If the book you are reading (assuming you are learning from a book) does not tell you what a handle is, it probably isn't a good book. Try out Programming Windows by Charles Petzold, or Windows 98 Programming from the Ground Up by Herbert Schildt.
Edited by - Midnight Coder on August 22, 2001 11:59:07 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement