thx in advance i appreciate it,i really do
dev C++ help
-
sniperwolf
- Posts: 248
- Joined: Wed Jun 28, 2006 8:05 pm
- Location: The Matrix...duh
dev C++ help
i cant for some reason compile my work can any1 help me plz. i have a full version that came with a programming book that i bought.the author is jonathan s. Harbour and the book is "beginning Game Programming"
thx in advance i appreciate it,i really do
thx in advance i appreciate it,i really do

-
sniperwolf
- Posts: 248
- Joined: Wed Jun 28, 2006 8:05 pm
- Location: The Matrix...duh
well im using a book as a guide so i dont see why i should have this problem like your stating.this book is in a step by step process so im doing it as the book states.i use my own code i type out and that didnt work so then i used the same code from the disk that i was able to use.and that still dosnt work.i get an error that says "unable to run program file".so.....now what?

-
sniperwolf
- Posts: 248
- Joined: Wed Jun 28, 2006 8:05 pm
- Location: The Matrix...duh
iv done that many times.well thers one other thing in the book it shows like a bunch of files but when i do it i only have to the projct and the source code but how do i get the header and resource files in there.thats what it shows in the book.is it cuz i dont have these files in the project when i try to compile it that it wont let me?

-
sniperwolf
- Posts: 248
- Joined: Wed Jun 28, 2006 8:05 pm
- Location: The Matrix...duh
- SuperCommando
- Posts: 448
- Joined: Thu Jan 04, 2007 1:53 pm
- Location: Florida!
- Contact:
-
sniperwolf
- Posts: 248
- Joined: Wed Jun 28, 2006 8:05 pm
- Location: The Matrix...duh
who's joking...
*edit*
ok so now iv figured out how to add actual files instead of adding just source code files and everything i have so far is header files, source code files then i have the source code itself in that file and i have resource files. iv done everything i can to get it to work correctly, what am i missing? does it need to be a certain file extension to compile or something im realy stuck here :\ .
this is the program im trying to compile and run:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nShowCmd)
{
MessageBox(NULL, "All your base are belong to use!",
"Hello World", MB_OK | MB_ICONEXCLAMATION);
}
*edit*
ok well no one is answering this and i know theres really smart ppl that can help me out on this so plz do.how about instead i ask: what belongs in the resourses and in the heading folders?
*edit*
ok so now iv figured out how to add actual files instead of adding just source code files and everything i have so far is header files, source code files then i have the source code itself in that file and i have resource files. iv done everything i can to get it to work correctly, what am i missing? does it need to be a certain file extension to compile or something im realy stuck here :\ .
this is the program im trying to compile and run:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nShowCmd)
{
MessageBox(NULL, "All your base are belong to use!",
"Hello World", MB_OK | MB_ICONEXCLAMATION);
}
*edit*
ok well no one is answering this and i know theres really smart ppl that can help me out on this so plz do.how about instead i ask: what belongs in the resourses and in the heading folders?


