string name; and string desc; have this error output:Code:#ifndef CLASS_H_ #define CLASS_H_ #include <string> #include "stat.h" typedef struct { string name; Stat_Set stats; string desc; }Clss; #endif
" 'string' does not name a type' ".
At first I thought I had forgotten to include <string>, but I was able to quickly rule that out.
Thanks in advance.