1.

Record Nr.

UNINA9910437973403321

Autore

Olsson Mikael

Titolo

C++ quick syntax reference / / Mikael Olsson

Pubbl/distr/stampa

New York : , : Apress, , 2013

ISBN

1-4302-6278-8

Edizione

[1st ed. 2013.]

Descrizione fisica

1 online resource (xvii, 105 pages)

Collana

Gale eBooks

Disciplina

004

005.133

Soggetti

C++ (Computer program language)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Introduction""; ""Chapter 1: Hello World""; ""Choosing an IDE""; ""Creating a project""; ""Adding a source file""; ""Hello world""; ""Using namespace""; ""Chapter 2: Compile and Run""; ""Visual Studio compilation""; ""Console compilation""; ""Comments""; ""Chapter 3: Variables""; ""Data types""; ""Declaring variables""; ""Assigning variables""; ""Octal and hexadecimal assignment""; ""Using variables""; ""Variable scope""; ""Default values""; ""Integer types""; ""Signed and unsigned integers""

""Floating-point types""""Char type""; ""Bool type""; ""Chapter 4: Operators""; ""Arithmetic operators""; ""Assignment operators""; ""Combined assignment operators""; ""Increment and decrement operators""; ""Comparison operators""; ""Logical operators""; ""Bitwise operators""; ""Operator precedence""; ""Chapter 5: Pointers""; ""Creating pointers""; ""Dereferencing pointers""; ""Pointing to a pointer""; ""Dynamic allocation""; ""Null pointer""; ""Chapter 6: References""; ""Creating references""; ""References and pointers""; ""Reference and pointer guideline""; ""Chapter 7: Arrays""

""Array declaration and allocation""""Array assignment""; ""Multi-dimensional arrays""; ""Dynamic arrays""; ""Determining array size""; ""Chapter 8: String""; ""String combining""; ""Escape characters""; ""String compare""; ""String functions""; ""Chapter 9: Conditionals""; ""If statement""; ""Switch statement""; ""Ternary operator""; ""Chapter 10: Loops""; ""While loop""; ""Do-while loop""; ""For loop""; ""Break and



continue""; ""Goto statement""; ""Chapter 11: Functions""; ""Defining functions""; ""Calling functions""; ""Function parameters""; ""Default parameter values""

""Function overloading""""Return statement""; ""Forward declaration""; ""Pass by value""; ""Pass by reference""; ""Pass by address""; ""Return by value, reference or address""; ""Inline functions""; ""Chapter 12: Class""; ""Class methods""; ""Inline methods""; ""Object creation""; ""Accessing object members""; ""Forward declaration""; ""Chapter 13: Constructor""; ""Constructor overloading""; ""This keyword""; ""Constructor initialization list""; ""Default constructor""; ""Destructor""; ""Direct initialization""; ""Value initialization""; ""Copy initialization""; ""New initialization""

""Chapter 14: Inheritance""""Upcasting""; ""Downcasting""; ""Multiple inheritance""; ""Chapter 15: Overriding""; ""Hiding derived members""; ""Overriding derived members""; ""Base class scoping""; ""Calling base class constructor""; ""Chapter 16: Access Levels""; ""Private access""; ""Protected access""; ""Public access""; ""Access level guideline""; ""Friend classes and functions""; ""Public, protected and private inheritance""; ""Chapter 17: Static""; ""Static fields""; ""Static methods""; ""Static local variables""; ""Static global variables""; ""Chapter 18: Enum""; ""Enum example""

""Enum constant values""

Sommario/riassunto

The C++ Quick Syntax Reference is a condensed code and syntax reference to the C++ programming language. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference. You won’t find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible.  The book is packed with useful information and is a must-have for any C++ programmer. In the C++ Quick Syntax Reference, you will find: A concise reference to the C++ language syntax. Short, simple, and focused code examples. A well laid out table of contents and a comprehensive index allowing easy review.