Computer Programming in C for Beginners
Lieferzeit: 7-14 Werktage
- Artikel-Nr.: 10422222
Beschreibung
Chapter 1: Installing and Using Code::Blocks; creating a source file, compiling and executing it
1.1 Downloading and installing Code::Blocks
1.2 Compiling and executing your first C program
1.3 Writing your first program
Chapter 2: Variables, memory and operators
1.1 Variables - a brief Introduction
1.2 Declaring simple variables
1.2.1 Declaring and initializing integer variables1.2.2 Setting values of variables
1.2.2.1 Integer variables
1.2.2.2 Floating point variables
1.2.2.3 Double Precision floating point variables
1.2.2.4 Character variables1.2.3 Mixing up data types1.3 Working with variables and operators
1.3.1 Addition, subtraction and multiplication
1.3.2 Division
1.3.2.1 Integer division1.3.2.2 Mixing up integer and floating point division1.3.3 Increment/decrement operators
1.4 Constants
1.5 Summary
Chapter 3: Selection Structures
3.1 Selection Structures - a short intro
3.2 Single-selection structures
3.3 Double-selection structures
3.4 Multiple-selection structures
3.5 Exercise for the student
3.6 The switch structure
3.7 Summary
Chapter 4: Repetition Structures
4.1 Repetition Structures - a short intro
4.2 for Loops
4.3 The while loop
4.4 The do-while loop
4.5 Summary
Chapter 5: Defining and Calling Programmer-defined Functions
5.1 Defining and calling functions - a short intro
5.2 Defining functions
5.3 Calling functions5.4 Returning values
5.5 Passing values of variables to functions
5.6 Summary
Chapter 6: Pointer variables
6.1 Pointers - a short intro
6.2 Declaring and initializing pointers
6.3 Input/output with pointers
6.4 Calling functions by reference with pointers
6.5 Pointer arithmetic
6.6 Double pointers
6.7 Summary
Chapter 7: Arrays
7.1 Arrays - a short intro
7.2 Declaring and initializing arrays7.3 Arrays, pointers and pointer math
7.4 Arrays and loops
7.5 Passing arrays to functions
7.6 SummaryChapter 8: Structures
8.1 structures - a short intro8.2 Instantiating structure variables
8.2.1 Instantiating within the body of the struct definition
8.2.2 Instantiating structure variables using the structure tag
8.2.3 Defining new data types with typedef
8.3 Member access operators: the Dot and the Arrow operators
8.4 Passing structures to functions8.5 Structures, arrays and loops
8.6 Summary
Chapter 9: Strings, Advanced I/O
9.1 Strings - a deeper treatment
9.1.1 Initializing strings
9.1.2 Setting values to string variables
9.1.3 The length of a string
9.1.4 Comparing strings
9.1.5 Concatenating strings9.2 Advanced I/O
9.2.1 The width specifier
9.2.2 The .precision specifier
9.2.3 The flag specifier
9.3 External file I/O
9.3.1 Writing to external files
9.3.2 Reading from external files
9.4 Summary
Chapter 10: Dynamic Memory Allocation, Multi-file programs
10.1Dynamic Memory Allocation10.2How to allocate memory dynamically
10.3Multi-file programs10.4Summary
Chapter 11: Linked Lists
11.1Linked structures - a brief introduction
11.2How to link together dynamically-allocated memory
11.3Traversing a linked list
11.4Inserting nodes into an existing linked list
11.4.1 Inserting new nodes at the front of the linked list
11.4.2 Inserting new nodes at the tail of the linked list11.5Deleting nodes from the list
11.6Summary
Chapter 12: Searching and Sorting
12.1 Searching
12.2 Sorting a List
12.2.1 Selection Sort
12.2.2 Bubble Sort
12.3 Summary
Eigenschaften
Breite: | 183 |
Gewicht: | 566 g |
Höhe: | 18 |
Länge: | 263 |
Seiten: | 193 |
Sprachen: | Englisch |
Autor: | Avelino J. Gonzalez |