Forum Discussion
Altera_Forum
Honored Contributor
20 years agoC++ classes...
Hey Guys, is it possible to do object oriented programming in NIOSII? when I define a simple class in a .h or .hpp file, I get syntax errors all over the place.... I even get errors...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by aym35@Nov 15 2005, 04:36 PM hey guys,
is it possible to do object oriented programming in niosii?
when i define a simple class in a .h or .hpp file, i get syntax
errors all over the place....
i even get errors for using the word "class"...
can someone please provide some insight into whether it is
even possible to program c++ in niosii?
thanks,
aydin.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11002)
--- quote end ---
--- Quote End --- I noticed the compiler behaves different if the file extention is ".c" instead of ".cpp". I had trouble wheni included a header containing cpp in a normal c file. Otherwise cpp works fine. Karsten