Home
Random
Log in
Settings
About David's Wiki
Disclaimers
David's Wiki
Search
C++: Difference between revisions
Page
Discussion
← 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,337
edits