New tutorial for novices needs your critique again.
December 13, 2001 08:36 PM
why not use string? I''m writing an introductory programming book and I''m definently not going to get into bits and bytes or pointers or anything like that until near the end. Those are all implementation details. Implementation comes after you understand what you are trying to make in the first place. Using char* as string is really confusing, that goes in an appendix. The fact that string literals are char* is not a big deal so you never need to even mention that some people use char* along with a bunch of functions to mimic a proper string class. It will come up when you have to use c_str() but you don''t have to go into it too deeply there either. Along those lines, why use arrays either? I''m going to go with vector.
I tried your web page for beginners. Its confusing and it seemed like everything was incomplete. I agree with who ever said it, you jump around to much
the_nebuchadnezzar thank you for your post. What part did you find confusing? What would you have liked explained better? Or was the total flow just "off". I value your criticsm and would appreciate a more in depth description of what you found lacking so I can correct it.
Sam
-----
TotalCoder
http://www.totalcoder.com
"Resources, tutorials, and articles for the novice, part-time, and hobbyist programmer"
Sam
-----
TotalCoder
http://www.totalcoder.com
"Resources, tutorials, and articles for the novice, part-time, and hobbyist programmer"
Sam-----TotalCoderhttp://www.totalcoder.com"Resources, tutorials, and articles for the novice, part-time, and hobbyist programmer"
December 15, 2001 07:25 AM
a kinda off the topic comment on <iostream.h> vs. <iostream>
the former is "old style" c++ and is discouraged by the ANSI standard. the latter however is the "new" way to do it and I figure if your writing a tute that you oughta go that way, (of course you''ll have to do the namespace gig too)
sorry if this isn''t relevant i haven''t read your tute..
the former is "old style" c++ and is discouraged by the ANSI standard. the latter however is the "new" way to do it and I figure if your writing a tute that you oughta go that way, (of course you''ll have to do the namespace gig too)
sorry if this isn''t relevant i haven''t read your tute..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement