I'm trying to create a simple c++ class in Xcode.
i'm just typing:
class Sculpture {
...
};
and it doesn't let me do it, I get two errors:
Unknown type name 'class'; did you mean 'Class'?
Expected ';' after top level declarator
Both on the same line of the class declaration.
i've tried to make a new file and it did not help.
the most strange part is that i have another 2-3 c++ classes working just fine
but they where not created by me so i'm not sure what are the differences.
Did anyone see something like that before?