![]() |
| | #106 |
| Spam is Good Join Date: Jan 2009 Location: In a cave on Mars
Posts: 34
| |
| coletek is offline | |
| | #107 | |
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 10,354
| Quote:
), but something looked amiss when I checked its table of contents from Amazon. After reading Glassborow's review for ACCU I understand why: according to Glassborow, it does not teach modern C++ even to a satisfactory novice level.
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way | |
| laserlight is online now | |
| | #108 | |
| Spam is Good Join Date: Jan 2009 Location: In a cave on Mars
Posts: 34
| Quote:
I come from a C world so, if you don't know C, then maybe this is not the book for you. But if you know C, this is the book for you. The only downfall I have with the book is it has notes for Microsoft Visual C++ 6.0, I'm a Linux hacker, so I would of liked notes also on gcc/g++ - but hey, such is life. Last edited by coletek; 01-11-2009 at 10:21 AM. | |
| coletek is offline | |
| | #109 | |
| Cat without Hat Join Date: Apr 2003
Posts: 8,439
| Quote:
For example, the "io stream classes" you claim there's a reference for don't exist anymore. According to the review, the reference is for the pre-standard version of iostreams, but the standard versions have changed in a few quite significant areas. Please read the review that laserlight linked to. It points out several major deficiencies of the book, and I have no reason to doubt that the author is right when he says that those are not isolated incidents.
__________________ All the buzzt! CornedBee"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Flon's Law | |
| CornedBee is offline | |
| | #110 | ||
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 10,354
| Quote:
Code: #include <map>
#include <string>
#include <cstddef>
#include <iostream>
int main()
{
using namespace std;
map<string, size_t> word_counts;
string word;
while (cin >> word)
{
++word_counts[word];
}
for (map<string, size_t>::iterator iter = word_counts.begin(), end = word_counts.end();
iter != end; ++iter)
{
cout << iter->first << ": " << iter->second << endl;
}
}
Quote:
EDIT: Actually, considering that Glassborow cited gets() and a failure to distinguish between a pointer and an array, it is conceivable that Overland does not even teach C++ as a "better" C in this book. (I actually stole that "better C" phrase from a customer review on Amazon.)
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way Last edited by laserlight; 01-11-2009 at 10:42 AM. | ||
| laserlight is online now | |
| | #111 |
| Spam is Good Join Date: Jan 2009 Location: In a cave on Mars
Posts: 34
| Ok, well I see you points. But as a C coder, I only use C++ when I really need a O-O arch. When I use C++ I still use C style coding methods. I personally don't see the point in the overhead of using some C++ stuff (eg. string wstring) when it can be done in C (eg. char). Another example is iostream (what is wrong with printf, scanf). From my point of view, C++ is only good for its ability to handle O-O for your large task at hand. In any other case it should be just C. So based on my above comments I see the book as good. I just read the ACCU comments and while I agree with he's comments I still see it as a good book. Probably more so, because of the great layout and method to ref things so easy - something I've found hard to find in any books. |
| coletek is offline | |
| | #112 |
| Registered User Join Date: Dec 2008
Posts: 51
| I'm sure someone already mentioned it, but I have rather enjoyed reading Bjarne Stroustrup's book "Programming - Principles and Practice Using C++". I have also enjoyed the Dietel books. Color always makes things easier to read. |
| Phyxashun is offline | |
| | #113 |
| Registered User Join Date: Mar 2009
Posts: 1
| Deitel books are good. I got the solutions to the 6th edition and it helped me a lot. |
| emanuels is offline | |
| | #114 |
| Registered User Join Date: Mar 2009
Posts: 1
| c++ book Hi all, I have read c++ without fear and am currently over halfway through practical c++. c++ without fear was a really good book. practical c++ is good with showing more details of specific c++ options. The only thing is that with practical c++ it seems that there is not much in-depth talk and multiple examples for all this detailed stuff. The author kinda just gives it to you quick. I just got done with the file i/o section and at the end it lists programming exercises. And I dont feel that the author went through the file i/o in depth enough for me to feel comfortable or even know how to approach these examples. Is there a book that goes in depth with every aspect of what the chapter is about but also uses multiple examples. And realife implementations. I am kinda bored with book examples and want something to keep my interest, like seing the programs implemented with real computer data and not just things ive typed into the compiler. And examples help a lot. Not just one example but lots of them on one subject that shows multiple problems solved using different implementations of the subject matter. thanks. |
| pinkbyfloyd is offline | |
| | #115 |
| Registered User Join Date: Apr 2009
Posts: 1
| I'm closing in on finishing C++ Primer (5th edition). What a wonderfull book, C++ seemed so vague and complex before I got my hands on this. Maybe some of my knowledge of Delphi helped me out tho. ![]() But, I'm still far from satisfied with my knowledge. Even the author said that the book alone probably won't give me that much knowledge for me to allready be able to make stand-alone GUI applications (or such). What do you recommend me as a second book? My interests are not gaming. I would like to get started with something simple, maybe image manipulation, text editing applications etc. Right now I'm more in the mood for some creative books, rather then books that focus on code optmization/similar topics. I thought about that Windows Programming book... but I'm still not sure if that's what I need right now. |
| AndrejMT is offline | |
| | #116 |
| Registered User Join Date: Apr 2009
Posts: 34
| STL Book Question!! I see that the majority of the recommended advanced books have to do with STL. Is STL widely used in the software industry these days? or is it a decaying technology? I just wanted to gather some information before I dig into the books. Thanks!! |
| chiefmonkey is offline | |
| | #117 |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,381
| STL is widely, but not universally, used. What is more important is to understand templates in general, and perhaps the iterator concept (which is extremely powerful even without STL). A lot of people are rolling their own template algorithms instead of using STL, but STL is a great place to start.
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot |
| brewbuck is offline | |
| | #118 |
| Registered User Join Date: Apr 2009
Posts: 34
| Thanks, brewbuck I appreciate your comments. |
| chiefmonkey is offline | |
| | #119 |
| Registered User Join Date: Jan 2005
Posts: 7,137
| The STL as referred to in threads like this is actually the standard library. It is standard so it works the same in all standards conforming implementations (which means it works the same 99.9% of the time on modern compilers). That is why it is used a lot. Not only is it platform independent, it is implemented in the standard libraries for all conforming C++ compilers. |
| Daved is offline | |
| | #120 |
| Registered User Join Date: Apr 2009
Posts: 34
| C/C++ Memory Management Book Hi folks, I recently got to know that when we use new or malloc to allocate dynamic memory, the allocated memory block gets prefixed with some bytes that contain low level details like the block size, and etc. Which book would you cover this kind of information? I think a general computer architecture book wouldn't cover this sort of C/C++ implementation-specific information. Thanks!! |
| chiefmonkey is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| any book recommendations? | NewnOT | Windows Programming | 1 | 06-21-2009 02:12 PM |
| JavaScript book recommendations | neandrake | Tech Board | 2 | 04-05-2009 12:27 PM |
| C++ Book Editions and Recommendations | cpudaman | C++ Programming | 7 | 02-10-2008 11:52 AM |
| Language REFERENCE book recommendations? | DougDbug | C++ Programming | 3 | 01-18-2003 02:24 PM |
| My book recommendations for rank beginners ... | snakum | C++ Programming | 4 | 08-21-2002 10:38 AM |