PDA

View Full Version : Who here thinks that......



jinx
10-23-2001, 02:56 PM
Lately, I've been seeing "I/O" this and "I/O" that in the windows programming section. These are obviously newbies posting such messages. Alas, I too once was a newbie, and was surprised at what effort it took to learn to successfully compile one line of code. Shouldn't someone start a tutorial on file i/o for those poor newbies? What about posting it on cprgramming.com for them? Should some on do this?

DavidP
10-23-2001, 03:05 PM
I might be wrong...but isn't there one already in the FAQ? If there isn't, then by all means, yes there should be a file I/O tutorial on the page...but I said no because I think there might be one in the FAQ...

Aran
10-23-2001, 03:09 PM
i'm all for the I/O tute... it'll be great to not have to read throughall those crap cluttering posts...

kermi3
10-23-2001, 04:44 PM
From time to time it might be a good idea to check out the Tutorials made by the Webmaster before posting... :) There is a File I/O tutorial by the webmaster in the Tutorials Section:

http://www.cprogramming.com/tutorial.html

Number 10.

Aran
10-23-2001, 06:57 PM
the problem is, how many n00bs actually read that?

i bet it's less that 1 in 10

rick barclay
10-23-2001, 07:03 PM
Why don't you just redirect messages with the I/O string to
the tutorial first?

rick barclay

oskilian
10-23-2001, 07:15 PM
Even if there wasn't a tutorial in file I/O there shouldn't be, it's way too easy to find that out for yourself (I did)

You should use that space on more advanced tutorials, such as video, audio, modem, Internet, networking or something like that...

Oskilian

jinx
10-24-2001, 04:28 PM
I see that there iss already an i/o tutorial on the FAQ, but... It doesn't really lead up to newbies who are wanting to design a win32 gui. A newbie would read this, compile it, and say, "Thats a DOS program (gasp!!!), I must be a super programmer overnight, by golly!!!!! Besides, what n00b knows to include the correct header file? Well, i guess that i might be under estimating the n00bs, but oh well. I along with numerous others are tired of seeing the crap every two posts about i/o'ing with dialog's & edit box's. I know that i too once posted an i/o question, but again, oh well.

Betazep
10-24-2001, 05:24 PM
We need to FAQ it because it is a FAQ. I stated this a year and a half ago.

Aran
10-24-2001, 06:38 PM
that is so true.

FAQ is the newest verb in the english language.

a definition will come in following posts when i'm board enough to actually make one up...

Breach23
10-24-2001, 07:10 PM
Hmm..
cout = screen output
cin = keyboard input

Aran
10-24-2001, 08:52 PM
ohhh, but it goes so much deeper than that...

operator overloading with the insertion and extraction operators, FILE i/o, and oh so much more.

oh so many things that n00bs will post a lot of inane rubbish about because they down't understand the current faq.

Betazep
10-24-2001, 11:13 PM
>>Hmm..
cout = screen output
cin = keyboard input<<


No... what I am talking about here is fstream components. Many many newbies ask how to output text to a file, read text from a file, write text from one file to another, etc etc etc.

It is a frequently asked question. We have a frequently asked question section. Therefore it is more than a tutorial.... it is a FAQ. Does this make sense to anyone else?

The FAQ should go over opening both an ifstream and ofstream object and perhaps cover .get() and .put() since those are easy fstream components to comprehend.

You get one character from a file and put it in the other file. This type of explanation covers multiple concepts about C++ standard file streams.

Do you all agree?

Breach23
10-25-2001, 12:07 PM
o...either read the fact, or read the MSDN library...pretty useless here...