Introduction to C Language Programming
Starting dates and places
Description
Prerequisites:
Basic windows familiarity. This class is ideal for newcomers to programming.Course Description:
This course provides a good working knowledge of the C Programming Language. Giving students hands-on experience with writing C Programs. The course develops good C Programming style and improved programming techniques, which can then be applied to other programming languages in the future.
This course is suitable for all developers with knowledge of a computer system who wish to write C programs or simply require an introduction to programming.
This course includes the following modules:
Elements of a C program
- C keywords
- Expressions
- Statements
- Statement Blocks
- Function Blocks
Writing, …
Frequently asked questions
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
Prerequisites:
Basic windows familiarity. This class is ideal for newcomers to programming.Course Description:
This course provides a good working knowledge of the C Programming Language. Giving students hands-on experience with writing C Programs. The course develops good C Programming style and improved programming techniques, which can then be applied to other programming languages in the future.
This course is suitable for all developers with knowledge of a computer system who wish to write C programs or simply require an introduction to programming.
This course includes the following modules:
Elements of a C program
- C keywords
- Expressions
- Statements
- Statement Blocks
- Function Blocks
Writing, Compiling and Linking a C Program
- Comments on C
- Header Files
- The main ( ) function
- Command line arguments (argv and argc)
- The printf ( ) function
The Standard C Library
Recommended C Programming Style
C Data Types
- Elementary Data Types; char, int, float, double
- Defining Variables in C
- Elementary Operators
Assignment
- Addition
- sizeof
- Addresses vs. Contents of Variables; lvalue and rvalue
- Using printf ( )
- Data Type Modifiers; unsigned, signed, long, short
Operators and Selection Statements
- More arithmetic operators
- Relational operators
- Bitwise operators
- Shorthand form of operators
- If statements
- Logical operators
- The switch statement
- The break keyword
- Precedence of operators
Loops
- The goto statement and labels
- While loops
- Do . . . while loops
- For loops
- Infinite loops with break
- The continue statement
Function Prototyping
- Prototyping in C
- Definition vs. Declaration
- Types of prototype
- No arguments
- Variable arguments
- Fixed number of arguments
Storage Classes and Scope
- Local scope
- Global scope
- Static variables
- External variables
- Register variables
- Initialisation of variables
Introduction to Pointers
- Defining a pointer variable
- The asterisk
- Scalars
The Concept of Indirection
- Using a pointer in an assignment
- Rules for pointers
- Pointers and Arrays
- Arrays of char
- Null pointers
- Incrementing and decrementing pointers
- Pointers as arguments to functions
More Advanced Techniques with Pointers
- Using equality and relational operators with pointers
- Pointer arithmetic
- Multi-dimensional arrays
- Using arrays of pointers
- Allocating memory at run time
- calloc the cast operator
- Pointers to functions
- Right-left rule for complex data types
Structures, Unions and Other Data Types
- Structures
- Unions
- Enum data type
- Typedefs
- The cast operator (revisited)
- Bit fields
Disk File Operations
- Opening and closing a file
- Reading and writing a file
- Reading and writing binary files
- File positioning
- The C Preprocessor
- Macro substitution using
- # define, #undef
- Using parameters in Macros
- #include
- Conditional
- Compilation
- #if, #ifdef, #endif
For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!
Share your review
Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.