[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ? about C++



Corrin Lakeland wrote:

> > why the program below is wrong?

Generally, it's adviseable not to reply to questions that look like
someone who needs help with his school assignments. When someone
presents a trivial programming problem based on a nonsensical code
fragment and doesn't even tell you what errors the compiler generated,
it's a good guess that he never tried to compile it -- the code, and the
question "what is wrong with this code" are almost certainly a homework
assignment. The best response, if one must respond at all, is simply,
"Figure it out yourself -- that's why your teacher gave it to you."

Craig

Attachment: pgpVBJV3QDAZ5.pgp
Description: PGP signature


Reply to: