C++

Anyone tried C++ yet. It seems to be available. I tried the following. iostream with no extension is available but the source file won't open it for some reason. On the last line of output window it says no C++ support available.

I was just curious to see how it compared to a C "hello C world"

But gave up.

#include <iostream>

int main(void)
{ cout << "hello C++ world"\n";
  return 0;
}

Parents
  • I use the Realview C++ and think it is a great implementation (This came from ARM and is not Keil's). I converted a C project to C++ and the size did not grow at all and even allowed me to shrink a few items because the algorythm simplified. I converted many items to templates (task with stacks, message queues) I use constructors so that my RL-ARM semaphores, mailbox's and box's are initialized without having to call init functions and I use a few simple base classes with inheritance as well as virtual functions where nessacary. I have had no issues.

Reply
  • I use the Realview C++ and think it is a great implementation (This came from ARM and is not Keil's). I converted a C project to C++ and the size did not grow at all and even allowed me to shrink a few items because the algorythm simplified. I converted many items to templates (task with stacks, message queues) I use constructors so that my RL-ARM semaphores, mailbox's and box's are initialized without having to call init functions and I use a few simple base classes with inheritance as well as virtual functions where nessacary. I have had no issues.

Children
More questions in this forum