Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit0458c375db85193697c485794bc463c8e083609f (patch)
Author
 Angel Dimitriev <achi_d@abv.bg>
2021-03-05 17:55:11 +0200
Committer
 GitHub <noreply@github.com>
2021-03-05 17:55:11 +0200
Filesfc8b1ed2ea91cab43a690ac421d80e22d966ae8c
Object-oriented_programming_FMI-0458c375db85193697c485794bc463c8e083609f.tar
Object-oriented_programming_FMI-0458c375db85193697c485794bc463c8e083609f.tar.gz
Object-oriented_programming_FMI-0458c375db85193697c485794bc463c8e083609f.zip
Parentd8f03a6f7b710f108c16f8585aa9cd36d9b921ed (diff)
Update README.md
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Sem. 02/README.md4
diff --git a/Sem. 02/README.md b/Sem. 02/README.md
index 16c3528..901e2c7 100644
--- a/Sem. 02/README.md
+++ b/Sem. 02/README.md
@@ -76,8 +76,8 @@ int main()
file << a << " " << b << " " << a + b << endl;
- if(!file.eof())
- cout << "The file contains more data after the two integers!"
+ if(!file.eof()) //check if the file has ended
+ cout << "The file contains more data after the two integers!" << endl;
file.close();
}