hai all,i am standing on a "crossroad to C++". I am here in front of you as ihave a problem. i will be brief. Please do not think: "arnuld is sick",i am really struggling & doing hard-work to become a Modern C++Programmer & i am feeling as if i am standing on a crossroad. i amasking because every time i made a decision on my own, in my past, ialways ran into huge wastage of time, money & effort. that is why i amposting it here:--Problem-- as you folks know that i want to learn Modern C++ & in mycountry "C++ Primer" 4/e & "Accelerated C++" are not available & beinga jobless person i dont have money to order anything from abroad. ihave these books on my shelf:1.) "Thinking in C++" 2/e2.) "C++ Primer" 3/e3.) "The C++ Programming Language" by Bjarne Stroustrup4.) An illegal version of "C++ Primer" 4/e as a .chm file on myDesktop.i have these 5 options:1.) read "C++ Primer 4/e" online: cant be done. with online copiesproductivity goes down to 20%. reading "physically" really makes thedifference in understanding & learning the language.2.) i took print-outs of 2-3-4 chapters of C++ Primer 4/e & read them &found them excellent, though i took a while to understand. it has 800pages, for me, it means 1000 pages of print outs from my EPSONdot-matrix in 8 separate folders. it will be very difficult to learnthis way & what if i want to search for some phrase/ideas in C++, i am"gone" in this case. i speak from experience, i tried this with"Practical Common Lisp" & trust me, it was huge time wastage with muchless productivity & output (well, that is why Stroustrup created C++:-)3.) read "Bruce Eckel": tried that, he makes heavy-use of C. i dontknow C, i dont want to, i want C++.4.) read "C++ Primer" 3/e: utterly incomprehensible to me.4.) Learn C first -OOA & D book -C++. an excellent way to confusemyself as i have found that learning "vectors, strings, new-delete"1st, makes learning "C character arrays & free-malloc" much easier.(while the opposite is not true, i tried it 2 months ago)5.) Go directly with Stroustrup: +ve point is i will learn "Pure C++",-ve point is i dont have any real-life coding experience, hence i foundit *too* dense & 50% of the times i did not understand what exactly hewas talink about. (but i do know what are variables, functions &classes + strings, vectors, new delete from C++)from all of this, i concluded Stroustrup is the only way to go. i justneed to dwell into it. what do you suggest?thanks for your time- arnuld http://arnuld.blogapot.com 解决方案Go for Stroustrup. That''s the book I used (but then I had backgroundfrom C, and also, it was the first edition, which was a very slim bookcompared to later ones aimed at US market where books are sold byweight). Just read it /slowly/, like each page is one chapter, anddon''t forget, try out things on your computer, e.g. /for each page/!--A: Because it messes up the order in which people normally read text.Q: Why is it such a bad thing?A: Top-posting.Q: What is the most annoying thing on usenet and in e-mail?I definitely think you should learn C as well though. You can''t go past"The C Programming Language", by Brian W. Kernighan and Dennis M.Ritchie.Why do you want to learn old-fashioned ''Modern C++''? If I were''standing on a crossroad'' I would learn C, a modern scripting languagelike Ruby or Python and - depending on the job market - either Java(language and platform(s)) or C# and .NET.Best wishes,Roland Pibinger 这篇关于学习现代C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-20 17:17