Sei sulla pagina 1di 4

C Programming

Virtual Training Company's C Programming tutorial is taught by an expert C pro grammer, Mark Virtue, who has been using C for over 15 years, and has been teach ing C programming for over 5 years. Perfect for beginners, this tutorial starts at an introductory level, assuming that you have no prior programming experience . The instructor takes you through the basic concepts and techniques of C, and giv es you exercises with which he guides you through to get to the solutions. You w ill be taken smoothly into more advanced concepts, such as pointers and dynamic memory. If you are already familiar with programming, you can skip past what you already know. To start learning now, simply click one of the topics below.

01 Introduction 0101 Introduction 0102 Introduction to C 0103 Versions of C 0104 The C Programming Process 0105 Using this CD 02 A 0201 0202 0203 0204 0205 Basic C Program The "Hello World" Program Variables The scanf Function Chapter 2 Exercises Chapter 2 Solutions

03 Basic Elements of a C Program 0301 Whitespace 0302 Data Types 0303 Strings 0304 Arithmetic Operators 0305 Comments 0306 More on printf and scanf 0307 Chapter 3 Exercises 0308 Chapter 3 Solutions 04 Conditional Code 0401 The if Statement 0402 Blocks 0403 The if...else Statement 0404 The switch Statement 0405 Relational Operators 0406 Boolean Expressions 0407 Advanced Relational Operators 0408 The goto Statement 0409 Chapter 4 Exercises 0410 Chapter 4 Solutions

0411 Introducing the Course Project 0412 Course Project Solution 05 Loops 0501 About Loops 0502 The while Loop 0503 The for Loop 0504 The do...while Loop 0505 break and continue 0506 Special Loops 0507 Chapter 5 Exercises 0508 Chapter 5 Solutions 06 Arrays 0601 About Arrays 0602 Strings Revisited 0603 Multi-dimensional arrays 0604 Array Initialisation 0605 Chapter 6 Exercises 0606 Chapter 6 Solutions 07 Strings and Characters 0701 String Input and Output 0702 The ASCII Character Set 0703 Character Functions 0704 Chapter 7 Exercises 0705 Chapter 7 Solutions 08 Advanced Operators 0801 Assignment Operators 0802 Increment and Decrement Operators 0803 The ? : Operator 0804 The sizeof Operator 0805 Casting 0806 Chapter 8 Exercises 0807 Chapter 8 Solutions 09 The C Preprocessor 0901 About the C Preprocessor 0902 The #include Directive and Header Files 0903 The #define Directive 0904 Macros 0905 The #ifdef and #ifndef Directives 0906 Other C Preprocessor Directives 0907 Chapter 9 Exercises 0908 Chapter 9 Solutions 10 Functions 1001 About Functions 1002 Defining and Calling Functions 1003 Global Variables 1004 Function Parameters 1005 Functions that Return a Value 1006 Function Prototypes 1007 Chapter 10 Exercises 1008 Chapter 10 Solutions 11 Structures 1101 Defining and Using a Structure 1102 Structures and Functions

1103 The typedef Keyword 1104 Chapter 11 Exercises 1105 Chapter 11 Solutions 12 The Compilation Process 1201 Layout of a C File 1202 Structure of a C Program 1203 The Compilation Process 1204 Chapter 12 Exercises 1205 Chapter 12 Solutions 13 Basic Pointers 1301 Introduction to Basic Pointers 1302 Understanding Pointers 1303 Pointer Syntax 1304 Pointer Syntax Examples 1305 A Common Pointer Confusion 1306 What are Pointers for? 1307 Coding with Pointers 1308 Pointers as Function Parameters 1309 Pointers to Structures 1310 Chapter 13 Exercises 1311 Chapter 13 Solutions 14 Scope 1401 About Scope 1402 The static Keyword 1403 Chapter 14 Exercises 1404 Chapter 14 Solutions 15 Dynamic Memory 1501 About Dynamic Memory 1502 Understanding Memory 1503 The malloc Function 1504 malloc Examples 1505 The free function 1506 Other Dynamic Memory Functions 1507 Chapter 15 Exercises 1508 Chapter 15 Solutions 16 The Standard C Function Library 1601 The main Function 1602 void Functions 1603 Exiting a Program 1604 File-based Input and Output 1605 stdio.h Revisited 1606 Standard I/O Functions 1607 Using Standard I/O Functions 1608 Generating Random Numbers 1609 References 1610 Chapter 16 Exercises 1611 Chapter 16 Solutions 17 Bitwise Operators 1701 About Bits 1702 The << and >> Operators 1703 The ~ Operator 1704 The & and Operators 1705 Bit-sized Structure Fields 1706 Chapter 17 Exercises

1707 Chapter 17 Solutions 18 Advanced Pointers 1801 The void Pointer 1802 The NULL pointer 1803 Pointers and Arrays 1804 Pointer Arithmetic 1805 Pointers to Pointers 1806 Chapter 18 Exercises 1807 Chapter 18 Solutions 19 Function Pointers 1901 About Pointers to Functions 1902 Understanding Pointers to Functions 1903 Using Function Pointers 1904 Writing Generic Code 1905 Chapter 19 Exercises 1906 Chapter 19 Solutions 1907 Appendix - Linked Lists 1908 The End

Potrebbero piacerti anche