View Single Post
  #1   Spotlight this post!  
Unread 09-02-2009, 16:18
aoconnor aoconnor is offline
Registered User
FRC #1779
 
Join Date: Jan 2009
Location: Boston
Posts: 3
aoconnor is an unknown quantity at this point
cRIO output files

Hello,
I was wondering if anyone had tried writing to a file on the cRIO using c++ code.
I have FTPed to the cRIO and am looking for my output file, but I don't know where in the filesystem to look.

In my main robot code I have something like...

%%%%%%%%%%%%%%%%

fstream _m_file;
_m_file.open("test.txt", ios:ut );
_m_file << "1 2 3 4" << endl;
_m_file.close();

%%%%%%%%%%%%%%%%%

Any guesses about where "test.txt" would be put?

Thanks in advance,
Alan
GFORCE, Team #1779