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 agoI have not had any problems. I just rename the file created by the new application wizard from a .c to a .cpp file (hello_world.c or whatever) and it works fine.