AnsweredAssumed Answered

Define a class

Question asked by Thore T on Dec 21, 2016
Latest reply on Dec 27, 2016 by Thore T

I try to write a simply programm and I want to define a class linke:


class myclass{




Directly I get an syntax error.


After I bulid the project I get an error:

Multiple markers at this line
    - Syntax error
    - unknown type name 'myclass'
    - expected '=', ',', ';', 'asm' or '__attribute__' before
     '{' token


I try to write it in a .h file and a .c


I work with LPCxpresso 8.2.2_650

I try to implemented math.h but the error still exist.


I think he dosn't know "class" but why? It is C syntax, isn't it?