C++, h files problem with "class"

Hi,
I'm trying to use c++ classes in Arduino. Have created theArray.h and theArray.cpp file. Compiling this claims that "class" is an unknow type in a PREVIOUS file Array.c.

Can't see that file anymore, but it must be there in the compiler/linker scrips? Any ideas what to do?

open the drop-down after the last tab

you’re not gonna show the code? ok bye :wave:

Hi,
Yes I could share the code, but obviuosly that was not the problem. Tried iit on another computer, and it worked, so my guess is that I need to empty the cash for the browser. Something has gone wrong with the arduino webeditor.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.