ohio_wookie
Registered
ok so I'm about to become a senior in Game and Simulation Engineering and I've gone done forgot a simple thing with arrays. doh! Its not so bad, I have been doing a lot of STL stuff. Anyway.
How do you initialize an array after you've declared it in C++, I want a outcome similar to:
class blahblah
private:
thisarray[4];
public:
blahblah()
thisarray[] = {0,1,2,3};
now obviously that doesnt work. how do i actually do it?
-Crash
How do you initialize an array after you've declared it in C++, I want a outcome similar to:
class blahblah
private:
thisarray[4];
public:
blahblah()
thisarray[] = {0,1,2,3};
now obviously that doesnt work. how do i actually do it?
-Crash