quote:Original post by MARS_999
is this correct seems to be working?
Looks OK, although it is of dubious design merit. Is it really necessary to have TGAFILE as a nested class?
quote:
Also I changed my header names to
#ifndef _TILES_H_
#define _TILES_H_
No, that''s wrong. The pattern underscore-capital-anytoken is reserved by the Standard. There are other such rules. If you are not aware of them, then never use leading undescores or double underscores anywhere in your code and you will be OK.