Any ideas why Xcode wont let me define a c++ class in my cocoa project?
I am trying to use a C++ class in my cocoa project but I am getting build errors just creating the c++ header file.
class SomeClass{
public:
int count;
};
Expected '=', ',', ';', 'asm' or 'attribute' before 'SomeClass' in .....
If I remove all code from the header file, ?the cpp file builds without any errors and is included in the list of compiled sources...