|
-
August 10th, 2003, 11:57 PM
#1
Intro to file input/file output in C++ tutorial
Hey guys, an AO member has asked me to write a tutorial on file input and file output in C++. In this tutorial I plan to teach the readers how to open and close a file, how to read the contents of a file, how to write into a file, how to check to see if a file exists, and how to copy the content of one file into another file. If you guys have any other suggestions, please let me know ASAP because i am almost finished writing this tutorial.
Support your right to arm bears.

^^This was the first video game which i played on an old win3.1 box
-
August 11th, 2003, 07:32 AM
#2
Senior Member
so pretty much explaining the use of fstream.h?
go for it!
-
August 11th, 2003, 07:54 AM
#3
why not make it usfull. like a project to parse a log for certain strings and output a report.
Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”
-
August 11th, 2003, 07:57 AM
#4
Senior Member
Originally posted here by Tedob1
why not make it usfull. like a project to parse a log for certain strings and output a report.
definately... lots of security programs out there output tons of logs... PLUS, there are lots of console based programs that only offer text output... use an example in ur tutorial on parsing those files into nice, neat tables, perhaps GUI
-
August 11th, 2003, 07:05 PM
#5
so pretty much explaining the use of fstream.h?
yeah thats correct 
I personally think the stuff i will be covering is pretty usefull for a new C++ programmer...
like a project to parse a log for certain strings and output a report.
remember, this is suppose to be an introduction to using the fstream.h library. This tutorial will be for new C++ programmers that want to do basic stuff using the fstream.h library.
Support your right to arm bears.

^^This was the first video game which i played on an old win3.1 box
-
August 11th, 2003, 07:06 PM
#6
Senior Member
very true... but i remember in computer science, one of the first sample scripts we did with fstream.h was parse a logfile... but it's your tutorial
-
August 11th, 2003, 07:10 PM
#7
hehehe
Support your right to arm bears.

^^This was the first video game which i played on an old win3.1 box
-
August 13th, 2003, 03:22 AM
#8
alright i posted it in the tutorial forum you can go here to visit it http://www.antionline.com/showthread...hreadid=247364
Support your right to arm bears.

^^This was the first video game which i played on an old win3.1 box
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|