Create bookmark
C++ In a Nutshell
A Desktop Quick Reference
Notes
Please login to add notes
- Table of Contents
- + Preface
-
+
Language Basics
-
+
Declarations
-
+
Expressions
- Lvalues and Rvalues
- + Type Conversions
- + Constant Expressions
- + Expression Evaluation
-
+
Expression Rules
- Primary Expressions
- Postfix Expressions
- Unary Expressions
- Cast Expressions
- Pointer-to-Member Expressions
- Multiplicative Expressions
- Additive Expressions
- Shift Expressions
- Relational Expressions
- Equality Expressions
- Bitwise And Expressions
- Bitwise Exclusive Or Expressions
- Bitwise Inclusive Or Expressions
- Logical And Expressions
- Logical Or Expressions
- Conditional Expressions
- Assignment Expressions
- Comma Expressions
-
+
Statements
- + Functions
- + Classes
-
+
Templates
-
+
Standard Library
-
+
Input and Output
-
+
Containers, Iterators, and Algorithms
- + Preprocessor Reference
-
+
Language Reference
- and operator
- and_eq operator
- asm definition
- auto storage class
- bitand operator
- bitor operator
- bool type
- break statement
- case keyword
- catch keyword
- char type
- class keyword
- compl operator
- const qualifier
- const_cast operator
- continue statement
- declaration
- declarator
- default keyword
- delete operator
- do statement
- double type
- dynamic_cast operator
- else keyword
- enum keyword
- explicit specifier
- export specifier
- expression
- extern storage class
- false literal
- float type
- for statement
- friend specifier
- function
- goto statement
- identifier
- if statement
- inline specifier
- int type
- long type
- mutable specifier
- namespace keyword
- new operator
- not operator
- not_eq operator
- operator keyword
- or operator
- or_eq operator
- private access specifier
- protected access specifier
- public access specifier
- register storage class
- reinterpret_cast operator
- return statement
- short type
- signed specifier
- sizeof operator
- statement
- static storage class
- static_cast operator
- struct keyword
- switch statement
- template keyword
- this keyword
- throw operator
- true literal
- try statement
- type
- typedef keyword
- typeid operator
- typename keyword
- unsigned specifier
- union keyword
- using keyword
- virtual specifier
- void keyword
- volatile qualifier
- wchar_t type
- while statement
- xor operator
- xor_eq operator
-
+
Library Reference
-
+
<algorithm>
- adjacent_find function template
- binary_search function template
- copy function template
- copy_backward function template
- count function template
- count_if function template
- equal function template
- equal_range function template
- fill function template
- fill_n function template
- find function template
- find_end function template
- find_first_of function template
- find_if function template
- for_each function template
- generate function template
- generate_n function template
- includes function template
- inplace_merge function template
- iter_swap function template
- lexicographical_compare function template
- lower_bound function template
- make_heap function template
- max function template
- max_element function template
- merge function template
- min function template
- min_element function template
- mismatch function template
- next_permutation function template
- nth_element function template
- partial_sort function template
- partial_sort_copy function template
- partition function template
- pop_heap function template
- prev_permutation function template
- push_heap function template
- random_shuffle function template
- remove function template
- remove_copy function template
- remove_copy_if function template
- remove_if function template
- replace function template
- replace_copy function template
- replace_copy_if function template
- replace_if function template
- reverse function template
- reverse_copy function template
- rotate function template
- rotate_copy function template
- search function template
- search_n function template
- set_difference function template
- set_intersection function template
- set_symmetric_difference function template
- set_union function template
- sort function template
- sort_heap function template
- stable_partition function template
- stable_sort function template
- swap function template
- swap_ranges function template
- transform function template
- unique function template
- unique_copy function template
- upper_bound function template
- + <bitset>
- + <cassert>
- + <cctype>
- + <cerrno>
-
+
<cfloat>
- DBL_DIG macro
- DBL_EPSILON macro
- DBL_MANT_DIG macro
- DBL_MAX macro
- DBL_MAX_10_EXP macro
- DBL_MAX_EXP macro
- DBL_MIN macro
- DBL_MIN_10_EXP macro
- DBL_MIN_EXP macro
- FLT_DIG macro
- FLT_EPSILON macro
- FLT_MANT_DIG macro
- FLT_MAX macro
- FLT_MAX_10_EXP macro
- FLT_MAX_EXP macro
- FLT_MIN macro
- FLT_MIN_10_EXP macro
- FLT_MIN_EXP macro
- FLT_RADIX macro
- FLT_ROUNDS macro
- LDBL_DIG macro
- LDBL_EPSILON macro
- LDBL_MANT_DIG macro
- LDBL_MAX macro
- LDBL_MAX_10_EXP macro
- LDBL_MAX_EXP macro
- LDBL_MIN macro
- LDBL_MIN_10_EXP macro
- LDBL_MIN_EXP macro
- <ciso646>
- + <climits>
- + <clocale>
-
+
<cmath>
- abs function
- acos function
- asin function
- atan function
- atan2 function
- ceil function
- cos function
- cosh function
- exp function
- fabs function
- floor function
- fmod function
- frexp function
- HUGE_VAL macro
- ldexp function
- log function
- log10 function
- modf function
- pow function
- sin function
- sinh function
- sqrt function
- tan function
- tanh function
-
+
<complex>
- abs function template
- arg function template
- complex class template
- complex<double> template specialization
- complex<float> template specialization
- complex<long double> template specialization
- conj function template
- cos function template
- cosh function template
- exp function template
- imag function template
- log function template
- log10 function template
- norm function template
- operator+ function template
- operator- function template
- operator* function template
- operator/ function template
- operator== function template
- operator!= function template
- operator<< function template
- operator>> function template
- polar function template
- pow function template
- real function template
- sin function template
- sinh function template
- sqrt function template
- tan function template
- tanh function template
- + <csetjmp>
- + <csignal>
- + <cstdarg>
- + <cstddef>
-
+
<cstdio>
- _IOFBF macro
- _IOLBF macro
- _IONBF macro
- BUFSIZ macro
- clearerr function
- EOF macro
- fclose function
- feof function
- ferror function
- fgetc function
- fgetpos function
- fgets function
- FILE type
- FILENAME_MAX macro
- fopen function
- FOPEN_MAX macro
- fpos_t type
- fprintf function
- fputc function
- fputs function
- fread function
- freopen function
- fscanf function
- fseek function
- fsetpos function
- ftell function
- fwrite function
- getc macro
- getchar macro
- gets function
- L_tmpnam macro
- NULL macro
- perror function
- printf function
- putc macro
- putchar macro
- puts function
- remove function
- rename function
- rewind function
- SEEK_CUR macro
- SEEK_END macro
- SEEK_SET macro
- setbuf function
- setvbuf function
- size_t type
- sprintf function
- sscanf function
- stderr macro
- stdin macro
- stdout macro
- TMP_MAX macro
- tmpfile function
- tmpnam function
- ungetc function
- vfprintf function
- vprintf function
- vsprintf function
-
+
<cstdlib>
- abort function
- abs function
- atexit function
- atof function
- atoi function
- atol function
- bsearch function
- calloc function
- div function
- div_t type
- exit function
- EXIT_FAILURE macro
- EXIT_SUCCESS macro
- free function
- getenv function
- labs function
- ldiv function
- ldiv_t type
- malloc function
- MB_CUR_MAX function
- mblen function
- mbstowcs function
- mbtowc function
- NULL macro
- qsort function
- rand function
- RAND_MAX macro
- realloc function
- size_t type
- srand function
- strtod function
- strtol function
- strtoul function
- system function
- wctomb function
- wcstombs function
-
+
<cstring>
- memchr function
- memcmp function
- memcpy function
- memmove function
- memset function
- NULL macro
- size_t type
- strcat function
- strchr function
- strcmp function
- strcoll function
- strcpy function
- strcspn function
- strerror function
- strlen function
- strncat function
- strncmp function
- strncpy function
- strpbrk function
- strrchr function
- strspn function
- strstr function
- strtok function
- strxfrm function
- + <ctime>
-
+
<cwchar>
- btowc function
- fgetwc function
- fgetws function
- fputwc function
- fputws function
- fwide function
- fwprintf function
- fwscanf function
- getwc macro
- getwchar macro
- mbrlen function
- mbrtowc function
- mbsinit function
- mbsrtowcs function
- mbstate_t type
- NULL macro
- putwc macro
- putwchar macro
- size_t type
- swprintf function
- swscanf function
- tm struct
- ungetwc function
- vfwprintf function
- vswprintf function
- vwprintf function
- WCHAR_MAX macro
- WCHAR_MIN macro
- wcrtomb function
- wcscat function
- wcschr function
- wcscmp function
- wcscoll function
- wcscpy function
- wcscspn function
- wcsftime function
- wcslen function
- wcsncat function
- wcsncmp function
- wcsncpy function
- wcspbrk function
- wcsrchr function
- wcsrtombs function
- wcsspn function
- wcsstr function
- wcstod function
- wcstok function
- wcstol function
- wcstoul function
- wcsxfrm function
- wctob function
- WEOF macro
- wint_t type
- wmemchr function
- wmemcmp function
- wmemcpy function
- wmemmove function
- wmemset function
- wprintf function
- wscanf function
-
+
<cwctype>
- iswalnum function
- iswalpha function
- iswcntrl function
- iswctype function
- iswdigit function
- iswgraph function
- iswlower function
- iswprint function
- iswpunct function
- iswspace function
- iswupper function
- iswxdigit function
- towctrans function
- towlower function
- towupper function
- wctrans function
- wctrans_t type
- wctype function
- wctype_t type
- WEOF macro
- wint_t type
- + <deque>
- + <exception>
- + <fstream>
-
+
<functional>
- binary_function class template
- binary_negate class template
- bind1st function template
- bind2nd function template
- binder1st class template
- binder2nd class template
- const_mem_fun_ref_t class template
- const_mem_fun_t class template
- const_mem_fun1_ref_t class template
- const_mem_fun1_t class template
- divides class template
- equal_to class template
- greater class template
- greater_equal class template
- less class template
- less_equal class template
- logical_and class template
- logical_not class template
- logical_or class template
- mem_fun function template
- mem_fun_ref function template
- mem_fun_ref_t class template
- mem_fun_t class template
- mem_fun1_ref_t class template
- mem_fun1_t class template
- minus class template
- modulus class template
- multiplies class template
- negate class template
- not1 function template
- not2 function template
- not_equal_to class template
- plus class template
- pointer_to_binary_function class template
- pointer_to_unary_function class template
- ptr_fun function template
- unary_negate class template
- unary_function class template
- + <iomanip>
-
+
<ios>
- basic_ios class template
- boolalpha function
- dec function
- fixed function
- fpos class template
- hex function
- internal function
- ios_base class
- ios_base::event type
- ios_base::event_callback type
- ios_base::failure class
- ios_base::fmtflags type
- ios_base::Init class
- ios_base::iostate type
- ios_base::openmode type
- ios_base::seekdir type
- left function
- noboolalpha function
- noshowbase function
- noshowpoint function
- noshowpos function
- noskipws function
- nounitbuf function
- nouppercase function
- oct function
- right function
- scientific function
- showbase function
- showpoint function
- showpos function
- skipws function
- streamoff type
- streamsize type
- unitbuf function
- uppercase function
- <iosfwd>
- + <iostream>
- + <istream>
-
+
<iterator>
- advance function template
- back_insert_iterator class template
- back_inserter function template
- bidirectional_iterator_tag class
- distance function template
- forward_iterator_tag class
- front_insert_iterator class template
- front_inserter function template
- input_iterator_tag class
- insert_iterator class template
- inserter function template
- istream_iterator class template
- istreambuf_iterator class template
- iterator class template
- iterator_traits class template
- iterator_traits<T*> template specialization
- iterator_traits<const T*> template specialization
- ostream_iterator class template
- ostreambuf_iterator class template
- output_iterator_tag class
- random_access_iterator_tag class
- reverse_iterator class template
- + <limits>
- + <list>
-
+
<locale>
- codecvt class template
- codecvt_base class
- codecvt_byname class template
- collate class template
- collate_byname class template
- ctype class template
- ctype<char> class
- ctype_base class
- ctype_byname class template
- ctype_byname<char> class
- has_facet function template
- isalnum function template
- isalpha function template
- iscntrl function template
- isdigit function template
- isgraph function template
- islower function template
- isprint function template
- ispunct function template
- isspace function template
- isupper function template
- isxdigit function template
- locale class
- locale::category type
- locale::facet class
- locale::id class
- messages class template
- messages_base class
- messages_byname class template
- money_base class
- money_get class template
- money_put class template
- moneypunct class template
- moneypunct_byname class template
- num_get class template
- num_put class template
- numpunct class template
- numpunct_byname class template
- time_base class
- time_get class template
- time_get_byname class template
- time_put class template
- time_put_byname class template
- tolower function template
- toupper function template
- use_facet function template
- + <map>
-
+
<memory>
- allocator class template
- allocator<void> class
- auto_ptr class template
- get_temporary_buffer function template
- operator== function template
- operator!= function template
- raw_storage_iterator class template
- return_temporary_buffer function template
- uninitialized_copy function template
- uninitialized_fill function template
- uninitialized_fill_n function template
- + <new>
- + <numeric>
- + <ostream>
- + <queue>
- + <set>
- + <sstream>
- + <stack>
- + <stdexcept>
- + <streambuf>
-
+
<string>
- basic_string class template
- char_traits class template
- char_traits<char> class
- char_traits<wchar_t> class
- getline function template
- operator+ function template
- operator== function template
- operator!= function template
- operator< function template
- operator<= function template
- operator> function template
- operator>= function template
- operator<< function template
- operator>> function template
- string class
- swap function template
- wstring class
- + <strstream>
- + <typeinfo>
- + <utility>
-
+
<valarray>
- abs function template
- acos function template
- asin function template
- atan function template
- atan2 function template
- cos function template
- cosh function template
- exp function template
- gslice class
- gslice_array class template
- indirect_array class template
- log function template
- log10 function template
- mask_array class template
- operator* function template
- operator/ function template
- operator+ function template
- operator- function template
- operator& function template
- operator| function template
- operator^ function template
- operator>> function template
- operator<< function template
- operator&& function template
- operator|| function template
- operator== function template
- operator!= function template
- operator< function template
- operator<= function template
- operator> function template
- operator>= function template
- pow function template
- sin function template
- sinh function template
- slice class
- slice_array class template
- sqrt function template
- tan function template
- tanh function template
- valarray class template
- + <vector>
-
+
<algorithm>
- + Compiler Extensions
- + Projects
- Glossary
- Index
To-the-point, authoritative, no-nonsense solutions have always been a trademark of O'Reilly books. The In a Nutshell books have earned a solid reputation in the field as the well-thumbed references that sit beside the knowledgeable developer's keyboard. C++ in a Nutshell lives up to the In a Nutshell promise. C++ in a Nutshell is a lean, focused reference that offers practical examples for the most important, most often used, aspects of C++. C++ in a Nutshell packs an enormous amount of information on C++ (and the many libraries used with it) in an indispensable quick reference for those who live in a deadline-driven world and need the facts but not the frills. The book's language reference is organized first by topic, followed by an alphabetical reference to the language's keywords, complete with syntax summaries and pointers to the topic references. The library reference is organized by header file, and each library chapter and class declaration presents the classes and types in alphabetical order, for easy lookup. Cross-references link related methods, classes, and other key features. This is an ideal resource for students as well as professional programmers. When you're programming, you need answers to questions about language syntax or parameters required by library routines quickly. What, for example, is the C++ syntax to define an alias for a namespace? Just how do you create and use an iterator to work with the contents of a standard library container? C++ in a Nutshell is a concise desktop reference that answers these questions, putting the full power of this flexible, adaptable (but somewhat difficult to master) language at every C++ programmer's fingertips.
Test the closed alpha on paperc.com
Book Details
Authors
Categories
Computers > Programming Languages > C++
Publishers
Publication year : 2007
License: All rights reserved ©
Times read: 657

