Initial commit

This commit is contained in:
Michael Reber
2019-11-15 12:59:38 +01:00
parent 40a414d210
commit b880c3ccde
6814 changed files with 379441 additions and 0 deletions
@@ -0,0 +1,18 @@
Open a file and display contents on the screen
//this example opens a file called myfile.txt
//and reads the text message to it
#include <fstream.h>
int main()
{
ifstream MyFile("myfile.txt");
char ch;
while(!MyFile.eof())
{
MyFile.get (ch);
cout<<ch;
}
MyFile.close();
return 0;
}