Actually, in most variants of C++ we've got things called "streams" that greatly enhance the readability and flexibility of code by use of the overloaded bitshift operator- for instance:
Code:
#include <iostream>
. . .
using namespace std;
. . .
cout << encoder1.Get() << endl;
Printf's really a C thing, but it is available in C++ if one needs fancier formatting or if one is allergic to the standard library for whatever reason. Then again, I can't speak for WindRiver/Diab- I still haven't gotten anything to run on that thing. It appears that they do have the simulator in this year's version (as opposed to last year where LabVIEW was the hands-down choice because of my team's large amount of code needing debugging and relative lack of robot), yet the installation of the C++ update seems to have failed probably due to the whole 32/64 bit thing. . .