Skip to content
Snippets Groups Projects
Commit 9cfd6a53 authored by Nina Džugasová's avatar Nina Džugasová
Browse files

Corrected FileExample.

parent bee4229b
No related branches found
No related tags found
1 merge request!15Nina
......@@ -7,18 +7,18 @@ using namespace std;
int main()
{
/*File file;
File file;
file.open( String("new-file.tnl"), IOMode::write );
String title("Header");
file.write( title );
file.write( &title );
file.close();
file.open( String("new-file.tnl"), IOMode::read );
String title2;
file.read( title2, 4);
file.read( &title2, 4);
file.close();
cout << "title2:" << title2 <<endl;*/
cout << "title2:" << title2 <<endl;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment