This tutorial series is created using gcc 4.6.1 Ubuntu 11.10. Powerful features, simple syntax, and portability make C a preferred language among programmers for business and industrial applications. Read more
Foss : C and Cpp - English
Outline: 1) First C Program -Header Files --example: #include <stdio.h> -main() -Curly braces -printf() -semicolon ; -Compiling a C program --example: gcc filen..
Outline: First C++ Program -Header files --example: #include <iostream> -main() -Curly braces -cout<< -semicolon ; -Compiling a C++ program --example: g++ filen..
Outline: 3) Tokens in C and C++ -Data types, constants, identifiers -Keywords --example: if, break, else -Constants -Data types --example: int, float, char, double -F..
Outline: Functions -What is a function -Syntax for declaration of a function -Function with arguments --example: return-type function-name(parameter); -Function without ar..
Outline: Scope of Variables -Introduction -Syntax of declaring a variable --example: data-type var-name; -Syntax for initializing a variable --example: data-type var-name =..
Outline: Check the conditions in a program -What are Statements. -Syntax for if and -If-else Statement -Errors
Outline: Nested if and switch statement -Nested if statement. -Switch statement. -Syntax for nested-if statement -Syntax for switch statement -break statement -Compariso..
Outline: Increment and Decrement Operators -Increment Operator --example: ++ -Postfix increment --example: a++ -Prefix increment --example: ++a -Decrement Operator ..
Outline: Arithmetic Operators -Arithmetic Operators -Addition Operator --example: a + b -Subtraction Operator --example: a - b -Multiplication Operator --example: a *..
Outline: Relational Operators -Double Equal to --example: a == b -Not Equal to --example: a != b -Greater Than --example: a > b -Less Than --example: a < b -Gr..
Outline: Logical Operators -And && -Or || -Not !
Outline: Loops -Loops -Syntax for while and do-while loop -Comparison of while and do-while loop -Syntax for -for loop -Errors
Outline: Arrays -What are arrays -1-D Arrays -Syntax for Declaration of arrays --example: data type array_name [size]; -Syntax for Initialization of arrays --example: da..
Outline: Working with 2-D Arrays -What are 2-D Arrays. -Range of arrays -Syntax for Declaration of 2-D arrays --example: data type array_name[row][column]; -Syntax for init..
Outline: Strings -What is a string -Syntax for declaring a string -Syntax for initializing a string -To read a string from keyboard
Outline: String Library Functions What are string library functions. Types of string library functions -Strcpy -Strlen -Strcmp -Strcat
Outline: Working with Structures -Introduction -Syntax of structures -Declaration and initialization -Declaration of structure variable -Accessing structure variables
Outline: Understanding Pointers -Introduction -Syntax of Pointer --example: int *iptr; -Declaration --example: int a; (integer a) int *aptr; (pointer to an integer..
Outline: Function call -types of function calls -function pass by value -function pass by reference
Outline: Files in C -File handling functions -Opening a File closing a file --example: fopen, fclose -Reading data from a File