I want to know about free resourses.Tell me whether I can download them.
I want to know about free resourses.Tell me whether I can download them.
http://www.directxtutorial.com
This is not a book, but it's still awsome
Teaches you DirectX very efficiently, or so I'm told... But what I've been told, also fails often, but it sure looks awsome, I just have to finish the book I'm reading before getting into that :P
But anyways, good site for DirectX tutorials and stuff
Currently research OpenGL
I really enjoyed Let us C by Kanetkar. But is the C++ one as good? And is there any c++ book (not a reference, more like for learning) covering windows + *nix programming? Thx in advance
Both at once? Unlikely.
However, as separate topics? Probably as sure as there is a sun out planet revolves around.
What they may be called, however, is unknown to me. But I know there have been some Windows programming books been mentioned on the boards. Perhaps the best bet is searching the Windows programming section.
Well, they are included in let us C. But do you think I could use them in C++?
Perhaps. I would not go as far as recommending them. Often, C books do not do well as C++ books due to the difference in the languages.
But they may go as far as to teach you how the OS works and what APIs to use for what, etc. Since the APIs are all C, it may still be something.
I don't know. You would have to try it yourself, or perhaps someone else knows.
Having not read the book myself, I am hesitant to judge it by its table of contents alone (at least better than judging a book by its cover ), 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.Originally Posted by coletek
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Next time ya in a book store, just check it out, trust me it serves as a very awesome reference - its layout is terrific and reads very well. Half the book is a reference, which lists/compares operators, keywords, pre processor elements, library functions, io stream classes. And the other half of the book is a C++ tutorial. Trust me its really good - I've read (and flicked through) about 10 C++ books and found this to be the best.Originally Posted by laserlight
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.
Sorry, but I trust the ACCU review more than the opinion of a C++ novice. If the above sentence about this book is true (and I have no reason to doubt its veracity), then it's enough to make me dismiss the book completely.Looking further I discovered that the author never covers string or wstring anywhere in this book.
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
Okay, using only that book as a reference, tell me what this program does without running it:Originally Posted by coletek
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; } }According to Glassborow, the problem with this book is its content. The book teaches C++ as if it were merely a "better" C. Modern C++ puts the C++ standard library to good use and makes use of idioms that are not found in C. Apparently, despite being published years after the C++ Standard was ratified, the book even has examples that are pre-standard.Originally Posted by coletek
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.)
Last edited by laserlight; 01-11-2009 at 10:42 AM.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
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.
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.
Deitel books are good. I got the solutions to the 6th edition and it helped me a lot.
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.
Thanks, brewbuck I appreciate your comments.