As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am looking for quick reference guide(s) for both OO and C++. I have a few technical interviews coming up and I just want a quick reference that gives the basic overview of the fundamentals. (Nothing too in depth, as I've learned it all once before)
Have a look at this C++ tutorial online.
There is also Bruce Eckel's Thinking In C++ freely available book.
C++ FAQ Lite is searchable and Herb Sutter's Guru Of The Week series feature many tricky puzzles.
Steve Yegge at google has a couple of excellent summaries of interview questions here and here.
Here's a site that's dedicated to Object Oriented Programming in C++. It provides quick coverage of the basic concepts.
For pure OO info, you might want to review the basic terminology (not C++ related) on Wikipedia's Object-oriented design page.
Stroustrup's FAQ is a good jumping off point to refresh some things. For a terminology refresher it's hard to beat the OO Wiki page.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to learn C++. Because I like the book's concept and I can already program in several other languages I thought "Accelerated C++: Practical Programming by Example" would be the best choice. However, the book is over 12 years old. Is it still a good idea to pick it up or would I be missing too many important new features of the language?
It remains one of the best books around. It's based on C++98, but C++03 is more bug fixes than anything else, and most programmers can't use anything more recent anyway. As with most languages that have been around for awhile, recent evolutions can be thought of as either fine tuning, or additional features to handle new issues (like threading).
I read some C++ books, and i recomend C++ Primer.
The way the author teaches the language is very insterestig.
Besides its a "heavy" book, you can learn more deeply the language and how to avoid errors.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
i need to start refine my memory so i like to practice a bit
do you know good site like : http://www.blackbeltfactory.com for java?
Here are some that looked promising on a quick perusal (and I'm adding to my own reading queue):
Wikibooks entry on Design Patterns in C++
Similar question answered responses on CodeGuru
C++ FAQ section on some design patterns
C++ headers from Head First Design Patterns to inspect
Have fun! (Sorry - don't know of any with a quiz for free - although the HFDP book likely has chapter-based ones)
Those links are a "must have" in your bookmarks:
Cplusplus Reference
C++ Reference
Cprogramming
Cplus About
IBM XL C/C++ V7.0
More C++ Idioms.
Another thousand usefull links can be found by googling. One of them will fit your taste.
You already got quite a few references so far, I just want to add this one, Data & Object Factory at http://www.dofactory.com/Patterns/Patterns.aspx.
I would say you can use java exercises....just write it in c++, its the same...
Grab http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=sr_1_1?ie=UTF8&qid=1299852356&sr=8-1
from The "Gang of Four":
Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides
For reference and you'll be set up :)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to learn about streams in C++. I have done some googling and searching on Amazon and have not had any success in finding a book/web resource on this topic. Any suggestions would be much appreciated! I have found some information on sites like cplusplus and forums, but I'm still still unclear about a number of issues. I would really like a clear, comprehensive resource.
One thing that I would like to do is get input for my programs from external files.
Thank you for any suggestions.
Standard C++ IOStreams and locales by Langer and Kreft is dedicated to streams (and locales, which streams use extensively), but it sounds like you want a general overview as you'd find in a general reference or introductory book.
I don't know of a book that deals with streams as its major subject. I'm sure you can find a lot of resources on the Internet, but judging their quality may be difficult. The following two books have rather good coverage of streams and might be work looking into. Of course they cover a lot more than just streams.
The C++ Programming Language by Bjarne Stroustrup
The C++ Standard Library: A Tutorial and Reference by Nicholai Josuttis
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know of free C++ assessment tests?
I would like to practice my C++ skils before interviews. Brainbench used to have it for free; now they want $49.99 and I think it's rip off..
Most of those "C++ questions" and pay-for-view packets are a ripoff and often a scam.
If you are interviewing at a big company, explicitly Google their name and c++ interview questions. Enough people post the interview questions online, and these companies are way too lazy to actually change this question set. Examples include Google, Bloomberg, and others.
If you want to ace interviews that ask about c++ corner cases, consider the c++ faq or the C++ faq lite (http://www.parashift.com/c++-faq-lite/). It's not questions, but it's the most valuable C++ resource IMHO.
And if you don't use C++ on a day to day basis, try to write some code and compile. I was humbled after too many years of Java to see how much of the syntax is no longer natural to me.
You might want to try My CPP Quiz as that has a set of very comprehensive C++ questions. If you can get through those easily you could consider yourself having a satisfactory understanding of basic C++.
http://www.mycppquiz.com
There is plenty of algorithmic problems to solve at SPOJ. Some of them are straightforward, well known algorithms implementations (see also The Problems classifier) some are harder. The online judge service will check your code's correctness online.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I saw Scott Meyers' "Effective C++" third edition book having a small section on "Template Programming".
Any other book/links containing information on "effective" usage of templates ?
I like Modern C++ Design: Generic Programming and Design Patterns Applied. I found it very well written and clear. Contains a few advanced topics.
Vandevoorde / Josuttis 'C++ Templates the Complete Guide' is very accessible.
C++ Templates - The Complete Guide. Alexandrescu's Modern C++ Design is very good, but I wouldn't recommend it unless you're already familiar with templates. It's also geared more to C++ Framework creators.
I quite like C++ Template Metaprogramming by Abrahams and Gurtovoy.
Scott Meyers deals with the Standard Template Library in Effective STL. That may be relevant for you.
A rarely mentioned but solid book is C++ Common Knowledge by Stephen C. Dewhurst. "Among the first users of C++ at Bell Labs", Dewhurst gives the book a somewhat deceptive title because he actually covers quite a bit of advanced material in particular in regards to templates.
Dewhurst's book is organized similarly to Meyers's with 63 "Items" that you can usefully read on their own. On templates you should look over items 45-59 (about 70 pages of reading).