|
Re: ofstream (standard C++ file output) not working
Quote:
Originally Posted by Pat Fairbank
Try calling Priv_SetWriteFileAllowed(1) in the constructor.
I've never used ofstream on the cRIO, but I've gotten C-style file I/O to work (FILE*, fopen(), fwrite(), etc.).
|
Thanks! I will try that next time I get a chance.
Quote:
Originally Posted by slavik262
Ditto. C-style has always run fine with me. If you know what you're doing it's not that hard to make a class similar to ofstream with c-style calls.
|
I know about C IO, but like C++ much better due to its simplicity, and ease of use by semi-incompetent people
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
|