View Single Post
  #1   Spotlight this post!  
Unread 17-01-2012, 13:15
makahn64 makahn64 is offline
Registered User
FRC #0256
 
Join Date: Nov 2011
Location: United States
Posts: 27
makahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these parts
NetConsole cout vs. printf on Old/New CRIO

Just a heads up that wasted a bit of my time...

It seems our new CRIO (4 slot) can print to the Net Console using cout without a namespace qualifier:

cout << "In autonomous mode";

Works fine. The exact same code on our old CRIO (8 slot) does not print to the screen. But printf works fine. Both have been 2012 re-imaged.

Not a big deal, but does anyone know why? Is there a magic namespace qualifier I can stick in front of cout to make it work for both?

netconsole::cout << "yada yada";
Reply With Quote