I have a class:
class cAsset{
public:
void data(int);
int returnInfo(void);
}
and a function which is suppose to return an array of cAssets
cAsset[] myFunc(int a, int b){
...
}
The error is:
Expected member name or ';' after declaration specifiers
What am i missing?