
There are those ocassions when a physical sequential file needs to be create. The following code snippett revealse how this can be accomplished using c++.
[codesyntax lang=”cpp”]
{
std::ofstream myfile; myfile.open ("projs.txt"); myfile << "output data:" << endl; myfile.close(); }
[/codesyntax]
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.