Search found 1 match

by DMan
Sun Jan 04, 2009 10:11 pm
Forum: Programming Discussion
Topic: Reading an array through a pointer...
Replies: 4
Views: 772

Re: Reading an array through a pointer...

//rendering tiles and player void render() { currentLevel-> } ... class level { public: level(void); virtual ~level(void); void loadmap(std::string filname); private: int map[10][10]; }; Are you trying to access the map array inside the "currentLevel" instance of the level class? In that ...