hacker9801 49 Junior Poster

>change into:
wrong. It's not constant because it has expressions that change. Thus you need dynamic memory (allocated with new ) or a type that's managed automatically (like Narue said, std::vector for example).

Right, Narue? *still needs to learn alot*

Salem commented: Yes, that's it. +18
hacker9801 49 Junior Poster

Oh lord, people wanting us to help with CS bots... no, you do your own work. Actually learn something.

Salem commented: Well said +17
hacker9801 49 Junior Poster

#pragma once is the better way of doing it. ifdef, endif are outdated.

not at all. :) #pragma once is only supported by a few compilers. #ifndef, #define and #endif are supported by all compilers. :)

Salem commented: Good answer - #pragma is non-portable +16
hacker9801 49 Junior Poster

....
for sound use fmod or something, you can't do video in a *console* application.