Thank you everybody, it works! well not exactly as I intended but that's a different problem
and I will try to sort it out myself before disturbing.
@AWOL, I cannot recall where I got it from, some material that I downloaded long ago, but it was probably typo as guix gave me the right solution.
@ guix special thanks ![]()
@ PaulS and econjack I just thought that the Arduino Ide used a simplified version of C++, well at least now I know where to look at... everywere ![]()