Assuming your call to DrawImage is supposed to pass the SDL_Surface array you want to pass it as Pac instead of Pac[4]. Pac[4] would pass only the 5th (and non-existant) cell.
Type: Posts; User: sudox
Assuming your call to DrawImage is supposed to pass the SDL_Surface array you want to pass it as Pac instead of Pac[4]. Pac[4] would pass only the 5th (and non-existant) cell.
Okay, I'll look into it; thanks :P
Ahh I wasn't aware of that, but why do other languages do it? It doesn't make sense... so say the programming Gods (C++ developers)
I know the difference between these two setups, but I would like to start a debate thread here to see what people prefer and why. I've read tutorials that will write the main function as void and...
Well I distribute my program via Mediafire and so I'd like to keep the size of the total program (archived and compressed in a .rar) <5MB
How heavy are those (in size)?
Any tutorials or something I could consult for the API to do something as simple as storing a table with 2 columns?
I don't know how to write games or anything like that, but I know some things about C++. In regards to the image collision, the images should have their own x,y coordinates no matter where they are,...
To re-ellaborate on what Xupicor is saying... You didn't write a default constructor.
Circle() { };
Once you write a constructor C++ stops making a default for you. Since your code in main...
The book Practical C++ Programming covers practical commenting methods, style, and appropriate usage; despite code mistakes and some less-than-acceptable coding methods, the commenting style covered...
Is it possible to store data in a file in a table-like format (similar to SQL) but without SQL? I don't want my user to have to run a SQL server to run their program (that would be ridiculous), but...
I'm looking into FLTK and don't worry rogster001 I won't be bothering you :D I prefer to figure these things out on my own....
I've got a program that I've been working on for nearly a year now. It is a console based flash card program, respectively titled Virtual Flash Cards (VFC). I've written the entire program in C++ and...