Structured Programming with
C++
Kjell Bäckman -
1 edition -
ISBN: 978-87-403-0099-4
C++
Kjell Bäckman -
1 edition -
ISBN: 978-87-403-0099-4
Bookboon
<iframe src="//www.slideshare.net/slideshow/embed_code/key/1OGo1pcrCrVtW6" width="668" height="714" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="//www.slideshare.net/alidz1/structured-programming-with-c-kjell-bckman-1-edition-bookboon-isbn-9788740300994" title="Structured Programming with C++ - Kjell Bäckman - 1 edition - Bookboon - ISBN: 978-87-403-0099-4 " target="_blank">Structured Programming with C++ - Kjell Bäckman - 1 edition - Bookboon - ISBN: 978-87-403-0099-4 </a> </strong> from <strong><a target="_blank" href="//www.slideshare.net/alidz1">ali dz</a></strong> </div>
رابط تحميل 01
رابط تحميل 02
رابط تحميل 03
رابط تحميل 04
رابط تحميل 05
تورنت
رابط تحميل 01
رابط تحميل 02
رابط تحميل 03
رابط تحميل 04
رابط تحميل 05
تورنت
رابط تحميل 01
Description
Structured Programming with C++ is intended as course material for the course Structured Programming with C/C++ at university level. It can also be used as self-learning material.
Each chapter contains theoretical parts and programming examples. At the end of each chapter there is a bunch of exercises for your practice. At the end of the book you will find solutions to the exercises.
The purpose of the book is primarily to teach how to ”think programming” and secondarily to teach C++ code. Therefore, I will emphasize how to focus on the problem solution and prepare the coding
Content
- Introduction to Programming
- What Does It Mean to Program
- Coding
- Compiling and linking
- The First Steps with Visual C++
- Variables
- Introduction
- Why Variables
- Declaring Variables
- Assignment
- Initiating Variables
- Constants
- More about Assignment of Values
- The main function
- Input and Output
- An Entry Program
- Formatted Output
- Invoice Program
- Time Conversion Program
- Type Conversion
- The Random Number Generator
- Game Program
- Summary
- Exercises
- Selections and Loops
- Introduction
- Selection
- if statement
- Price Calculation Program
- Comparison Operators
- Even or Odd
- else if
- and (&&), or (||)
- Conditional Input
- The switch statement
- Menu Program
- Loops
- The while Loop
- The for Loop
- Addition Program
- Double Loop
- Roll Dice
- Two Dice Roll
- Breaking Entry with Ctrl-Z
- Pools
- Equation
- Interrupting a Loop - break
- Summary
- Exercises
- Arrays
- Introduction
- Why Arrays
- Declaring an Array
- Initiating an Array
- Copying an Array
- Comparing Arrays
- Average
- Sales Statistics
- Product File, Search
- Two-Dimensional Array
- Sorting
- Searching a Sorted Array
- Summary
- Exercises
- Strings
- Introduction
- Data Type char
- Menu Program
- Menu Program with Loop
- Christmas Tree
- int - char
- Å, Ä, Ö
- String Array, char[]
- Length of a String
- Upper/Lower Case
- Initials
- Comparing Two Strings
- Copying Strings
- Array with String Arrays
- Sorting Strings
- Substring
- Concatenating Strings
- Interchanging First Name and Surname
- Encryption
- Random Password
- Translation Table
- Summary
- Exercises
- Functions
- Introduction
- What Is a Function
- Average
- Calling a Function
- Several return Statements
- Least of Three Numbers
- Least Item of an Array
- Array As Parameter
- Function and Subfunction
- Function without Return Value
- Replacing Characters in a String
- Declaration Space
- The Word Program
- Override Functions
- Declaration - Definition
- Header Files
- Reference Parameters
- Parameters with Default Values
- Recursive Functions
- Summary
- Exercises
- Files
- Introduction
- Streams
- Reading from a Stream
- Writing to a Stream
- Attaching a File to a Stream
- A Complete Write Program
- A Complete Reading Program
- New Item at the End of the File
- Products and Prices
- Search for a Product Price
- Sorting a File in Memory
- Updating File Content
- Copying Files
- Summary
- Exercises
- Pointers
- Introduction
- What Is a Pointer
- Declaring a Pointer
- Assigning Values to Pointers
- Addresses and char Pointers
- cout and char Pointers
- Price Program with Pointers
- Pointer Arithmetics
- Tax Program
- Functions and Pointers
- Dynamic Memory
- Summary
- Exercises
- Structures
- Introduction
- What Is a Structure
- Defining a Structure
- Declaring and Initiating Structure Variables
- Assigning Values to Structure Members
- A Structure Program
- Array with Structure Variables
- Pointer to Structure
- Structures in the Dynamic Memory
- Structure As Function Parameter
- Summary
- Exercises
- Answers
- Variables
- Selections and Loops
- Arrays
- Strings
- Functions
- Files
- Pointers
- Structures