It's quite confusing, even in chapter 1. |
|
|
|
|
|
|
How am i supposed to know what's what? |
Although you do not need to know C in order to understand this book, we assume you know enough about programming to write, compile, and run a program in at least one modern block-structured language. In particular, we assume you have used variables, written and called functions, and used a compiler. |
It's more beginner than Programming practice and principles using c++. |
It's more beginner than Programming practice and principles using c++. |
Are you completely new to programming? If you’ve never programmed before, why not learn in C++? Programming: Principles and Practice Using C++ is an introduction to programming written by the creator of C++, Bjarne Stroustrup. Thousands of college freshmen taking Stroustrup’s hugely popular Introduction to Programming class at Texas A&M University, and innumerable readers around the world, have learned programming and launched their careers using this book – and C++. This text reflects the C++98 standard. All of the code examples work in C++11, and the book itself will likely be updated next year to reflect the new standard and its extra conveniences and features. *Note a new C++11 version is expected out in May 2014. |
Are you looking for “the” one-stop overview of C++? The new concise A Tour of C++ by Bjarne Stroustrup is the go-to book to answer “what is the book of what you should assume everyone knows about C++?” Through a modern tour of the language and library, its contents answer the question: What is the basic knowledge that we should be able to assume from a competent C++ programmer? One could subtitle it: “Around the C++ world in 180 pages.” |
Are you new to C++? Freshly updated for the new C++11 standard, the bestselling C++ Primer is one of the most popular books ever for learning C++, written by close colleagues of Bjarne Stroustrup who participated in the development of C++ since its early days. This authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code. |
Looking for “the” authoritative C++11 reference? Now also being freshly updated for C++11 and available soon, the all-time best-selling C++ book on the planet is Bjarne Stroustroup’s The C++ Programming Language. This book is primarily a reference, not a tutorial, but it also contains extensive explanations and many valuable insights and guidelines from the creator of C++ himself. |
Looking for the authoritative tutorial and reference for the C++11 standard library? Freshly updated for C++11 and available now, The C++ Standard Library: A Tutorial and Reference by renowned ISO C++ member Nicolai Josuttis is the most respected book for learning and studying the standard library. It provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. You’ll find it all here – everything from concurrency and clocks, to the new hash-based containers and regular expressions, to high-quality guidance on how to use key language features like lambdas with it all. |
My Books: 1) Cplusplus.com pdf 2) Tutorialspoint pdf 3) Jumping into C++ 4) Beginning C++ Through Game Programming, 3rd edition 5) Programming Practice and Principles Using C++ 6) C++ Primer, 5th edition 7) The internet :) |
@YellowPyrmid The exercises are designed to build on what you learned in the sections before it. For example, exercises for section 2.4.2 is to help you understand what is legal and not legal with pointer, reference, pointer to const, reference to const, const pointer, etc. As for the exercises that require you to make applications, they are just build on what you have learned in previous sections and chapters. The best bet for finding the right answers would to post the question and your attempt in the beginner forum and get input from other programmers there. |
|
|
%
operator before so I knew about it. If that wasnt there you would have to do a if with a lonnnnnnngggggg condition