Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:sdksamples:writetextfile [2015/09/14]
127.0.0.1 external edit
developer:sdksamples:writetextfile [2016/02/12] (current)
sandy
Line 1: Line 1:
-====== Writing to a text file======+====== Writing to a Text File======
 > **Developer:​** //​[[developer:​cplusplusplugins|C++]]//​ > **Developer:​** //​[[developer:​cplusplusplugins|C++]]//​
-> **Summary:​** //Discuss ​writing text files with C++.//+> **Summary:​** //Discusses ​writing text files with C++//
  
 =====Question===== =====Question=====
-would need to write to a text file from my general utility plug-in. Is this possible?+I need to write to a text file from my general utility plug-in. Is this possible?
 =====Answer===== =====Answer=====
 Sure it is  possible. But, the Rhino SDK does not have any special functions or classes to help you read or write text files. Sure it is  possible. But, the Rhino SDK does not have any special functions or classes to help you read or write text files.
  
-With that said, there are a number of ways to read and write text files in C++.  ​+With that said, there are a few ways to read and write text files in C++.  ​
  
   - Use the C-runtime library'​s **fopen**, **fputs**, **fwrite** and **fclose** functions.   - Use the C-runtime library'​s **fopen**, **fputs**, **fwrite** and **fclose** functions.
developer/sdksamples/writetextfile.txt ยท Last modified: 2016/02/12 by sandy