Andy said:
Hi,
I am still learing C++. What are the most common mistakes that people
often made in C++? Mistach of new/delete should be one. How about
others?
Spelling and grammar. Work on them. Seriously.
They're far more important when dealing with
computer languages than with human languages.
Another big mistake I see often with beginners is
trying to write code too soon (not having read
enough) and writing too much code all at once.
I.e. trying to run before learning to walk.
Another one I've seen too many times is being too
cheap to purchase quality textbooks (or too lazy
to find a library from which to borrow them), and
trying to rely solely on the internet for information;
this very often results in acceptance of incorrect
information as correct, and much wasted time
and effort.
BTW have you read the C++ FAQ? If not, do so. Do it
now. Go directly to the FAQ, do not pass GO, do
not collect $200.
http://www.parashift.com/c++-faq-lite/
There will be a quiz on Monday (just kidding
)
-Mike