Possible Duplicate:
What C++ pitfalls should I avoid ?
While searching for some information, I stumbled upon this series of small articles, Things to avoid in C/C++. So, thought of sharing it...
"C/C++ programmers are allowed to do some things they shouldn't. We are given functions that are supposed to be useful but aren't because of hidden faults, or taught ways to do things that are bad, wrong, not necessary. These posts will discuss many of these as time goes on."
gets(): http://www.gidnetwork.com/b-56.html
fflush(stdin): http://www.gidnetwork.com/b-57.html
feof(): http://www.gidnetwork.com/b-58.html
system("PAUSE"): http://www.gidnetwork.com/b-61.html
scanf: http://www.gidnetwork.com/b-59.html
scanf / character: http://www.gidnetwork.com/b-60.html
scanf / string: http://www.gidnetwork.com/b-62.html
scanf / number: http://www.gidnetwork.com/b-63.html
scanf / epilogue: http://www.gidnetwork.com/b-64.html
void main(): http://www.gidnetwork.com/b-66.html
As this is a very useful subject/topic, I request all the members to keep adding valuable information to this thread, and make it a good source of information for all level of programmers, especially for beginners. Thanks...