Cargando…

Exploring C++ 11 : problems and solutions handbook /

Exploring C++ divides C++ up into bite-sized chunks that will help you learn the language one step at a time. Assuming no familiarity with C++, or any other C-based language, you'll be taught everything you need to know in a logical progression of small lessons that you can work through as quic...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Lischner, Ray (Autor)
Otros Autores: Buckingham, Ewan (Editor ), Ishchenko, Anna (Diseñador de portada)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: New York : Apress, 2013.
Edición:Second edition.
Colección:Expert's voice in C++.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • At a Glance; Introduction; EXPLORATION 1: Honing Your Tools; Ray's Recommendations; Microsoft Windows; Macintosh OS X; Everyone Else; Read the Documentation; Your First Program; EXPLORATION 2: Reading C++ Code; Comments; Headers; Main Program; Variable Definitions; Statements; Output; EXPLORATION 3: Integer Expressions; EXPLORATION 4: Strings; EXPLORATION 5: Simple Input; EXPLORATION 6: Error Messages; Misspelling; Bogus Character; Unknown Operator; Unknown Name; Symbol Errors; Fun with Errors; EXPLORATION 7: For Loops; Bounded Loops; Initialization; Condition; Postiteration.
  • How a for Loop WorksYour Turn; EXPLORATION 8: Formatted Output; The Problem; Field Width; Fill Character; std Prefix; Alignment; Exploring Formatting; Alternative Syntax; On Your Own; EXPLORATION 9: Arrays and Vectors; Vectors for Arrays; Vectors; Iterators; EXPLORATION 10: Algorithms and Iterators; Algorithms; Member Types; A Simpler Loop; Using Iterators and Algorithms; EXPLORATION 11: Increment and Decrement; Increment; Decrement; EXPLORATION 12: Conditions and Logic; I/O and bool; Boolean Type; Logic Operators; Old-Fashioned Syntax; Comparison Operators.
  • EXPLORATION 13: Compound StatementsStatements; Local Definitions and Scope; Definitions in for Loop Headers; EXPLORATION 14: Introduction to File I/O; Reading Files; Writing Files; EXPLORATION 15: The Map Data Structure; Using Maps; Pairs; Searching in Maps; EXPLORATION 16: Type Synonyms; typedef Declarations; Common typedefs; Type Aliases; EXPLORATION 17: Characters; Character Type; Character I/O; Newlines and Portability; Character Escapes; EXPLORATION 18: Character Categories; Character Sets; Character Categories; Locales; Exploration 19: Case-Folding; Simple Cases; Harder Cases.
  • EXPLORATION 20: Writing FunctionsFunctions; Function Call; Declarations and Definitions; Counting Words-Again; The main() Function; EXPLORATION 21: Function Arguments; Argument Passing; Pass-by-Reference; const References; const_iterator; Multiple Output Parameters; Exploration 22: Using Algorithms; Transforming Data; Predicates; Other Algorithms; Exploration 23: Unnamed Functions; Lambdas; Naming an Unnamed Function; Capturing Local Variables; const Capture; Return Type; Exploration 24: Overloading Function Names; Overloading; bool is_alpha(char ch); bool is_alpha(std::string const & str).
  • Char to_lower(char ch)std::string to_lower(std::string str); char to_upper(char ch); std::string to_upper(std::string str); Exploration 25: Big and Little Numbers; The Long and Short of It; Long Integers; Short Integers; Integer Literals; Byte-Sized Integers; Type Casting; Make Up Your Own Literals; Integer Arithmetic; Overload Resolution; Exploration 26: Very Big and Very Little Numbers; Floating-Point Numbers; Floating-Point Literals; Floating-Point Traits; Floating-Point I/O; Exploration 27: Documentation; Doxygen; Structured Comments; Documentation Tags and Markdown; @b word.