Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
davidl.me
David's Wiki
Search
Search
Log in
Personal tools
Log in
C++: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
Special pages
Printable version
← Older edit
Newer edit →
C++
(view source)
Revision as of 01:13, 11 June 2022
1 byte added
,
11 June 2022
→Reading and Writing
Revision as of 17:14, 20 May 2022
(
view source
)
David
(
talk
|
contribs
)
(
→std::queue
)
← Older edit
Revision as of 01:13, 11 June 2022
(
view source
)
David
(
talk
|
contribs
)
(
→Reading and Writing
)
Newer edit →
Line 166:
Line 166:
int main() {
int main() {
std::
istream
my_file("my_file.txt");
std::
ifstream
my_file("my_file.txt");
std::string line;
std::string line;
// Read line by line
// Read line by line
David
Bureaucrats
,
Interface administrators
,
Administrators
5,321
edits
Toggle limited content width