skyhawk133, on 20 Aug, 2007 - 11:14 PM, said:
Sure, here's the ones which grabbed my eye.
http://www.dreaminco...owtopic9870.htm (All sorts of nonstandard code - maybe unnecessarily since the subject matter of the tutorial itself isn't platform-specific)
http://www.dreaminco...wtopic11809.htm ( uses void main() somewhere)
http://www.dreaminco...owtopic9872.htm - A whole bunch of problems (incl. iostream.h & void main)
- C++ code mixed with C (stdio.h and printf's aren't very C++ like) - Not an error as such, but poor C++ style, since 'C'-style code doesn't mix very well with much of the C++ Standard library (like std::strings).
- the array s[100] at the beginning overflows - array is sized 100, although the for-loop runs one-past-the-end.
I don't doubt the good intentions of the authors,

New Topic/Question
Reply





MultiQuote






|