Forum Discussion
Altera_Forum
Honored Contributor
20 years agoC++ is IMPOSSIBLE in NIOSII
Hey Everyone, After spending over 20 hours trying everything that I could, I have concluded that it is impossible to have NIOSII run C++... If you want to define your own classes you need to in...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by aym35@Nov 18 2005, 06:46 PM i can't define a simple class in the nios ide because i get syntax errors for using the word "class"...
is there any way to solve this???
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11048)
--- quote end ---
--- Quote End --- you probably wrote that in a file with a .c extension, or in a header that gets included in a C module. Start over in a file that has a .cpp extension and it will work. no extra header required. Cheers, Roger