1
Programming / Re: Need some total newbie help...
« on: April 26, 2011, 02:47:56 PM »
Thanks for all the great suggestions guys!
First off, I'm goin to ask (formally ) if it's okay to ask for miscelaneous help and info on this thread, so as not to clutter this fine board with my jammering.
If the answer to the above is negative, disregard the following jammering
EDIT 22:00 2/5
After a lot more tinkering and stuff I've run into another problem. I've been trying to implement a map that's a vector of vectors of chars, in preparation for making my own class/type for mapTiles. I've also been trying to keep every variable and function pertaining to certain areas of the game, like map display, input etc, in separate header files with their own cpp files. The problem I'm running into now is this:
I've declared a vec of vec of chars in Map.h, but unless I make this a 'static', no code in other files seems to be able to access it. Even then it seems to be read only, though i think this is caused by a scope/reference problem... Any ideas,. or do i need to be more specific?
First off, I'm goin to ask (formally ) if it's okay to ask for miscelaneous help and info on this thread, so as not to clutter this fine board with my jammering.
If the answer to the above is negative, disregard the following jammering
EDIT 22:00 2/5
After a lot more tinkering and stuff I've run into another problem. I've been trying to implement a map that's a vector of vectors of chars, in preparation for making my own class/type for mapTiles. I've also been trying to keep every variable and function pertaining to certain areas of the game, like map display, input etc, in separate header files with their own cpp files. The problem I'm running into now is this:
I've declared a vec of vec of chars in Map.h, but unless I make this a 'static', no code in other files seems to be able to access it. Even then it seems to be read only, though i think this is caused by a scope/reference problem... Any ideas,. or do i need to be more specific?