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 filename.c -o output para..

Basic

Foss: C and Cpp - English

Outline: First C++ Program -Header files --example: #include <iostream> -main() -Curly braces -cout<< -semicolon ; -Compiling a C++ program --example: g++ filename.cpp -o output pa..

Basic

Foss: C and Cpp - English

Outline: 3) Tokens in C and C++ -Data types, constants, identifiers -Keywords --example: if, break, else -Constants -Data types --example: int, float, char, double -Format specifiers ..

Basic

Foss: C and Cpp - English

Outline: Functions -What is a function -Syntax for declaration of a function -Function with arguments --example: return-type function-name(parameter); -Function without arguments --example..

Basic

Foss: C and Cpp - English

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 = value; -Scope of..

Basic

Foss: C and Cpp - English

Outline: Check the conditions in a program -What are Statements. -Syntax for if and -If-else Statement -Errors

Basic

Foss: C and Cpp - English

Outline: Nested if and switch statement -Nested if statement. -Switch statement. -Syntax for nested-if statement -Syntax for switch statement -break statement -Comparison between nested if-..

Basic

Foss: C and Cpp - English

Outline: Increment and Decrement Operators -Increment Operator --example: ++ -Postfix increment --example: a++ -Prefix increment --example: ++a -Decrement Operator --example: -- -..

Basic

Foss: C and Cpp - English

Outline: Arithmetic Operators -Arithmetic Operators -Addition Operator --example: a + b -Subtraction Operator --example: a - b -Multiplication Operator --example: a * b -Division Oper..

Basic

Foss: C and Cpp - English

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 -Greater than Equal To ..

Basic

Foss: C and Cpp - English

Outline: Logical Operators -And && -Or || -Not !

Basic

Foss: C and Cpp - English

Outline: Loops -Loops -Syntax for while and do-while loop -Comparison of while and do-while loop -Syntax for -for loop -Errors

Intermediate

Foss: C and Cpp - English

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: data type array_name [..

Intermediate

Foss: C and Cpp - English

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 initialization of 2-D ar..

Intermediate

Foss: C and Cpp - English

Outline: Strings -What is a string -Syntax for declaring a string -Syntax for initializing a string -To read a string from keyboard

Intermediate

Foss: C and Cpp - English

Outline: String Library Functions What are string library functions. Types of string library functions -Strcpy -Strlen -Strcmp -Strcat

Intermediate

Foss: C and Cpp - English

Outline: Working with Structures -Introduction -Syntax of structures -Declaration and initialization -Declaration of structure variable -Accessing structure variables

Advanced

Foss: C and Cpp - English

Outline: Understanding Pointers -Introduction -Syntax of Pointer --example: int *iptr; -Declaration --example: int a; (integer a) int *aptr; (pointer to an integer *aptr) aptr = &a..

Advanced

Foss: C and Cpp - English

Outline: Function call -types of function calls -function pass by value -function pass by reference

Advanced

Foss: C and Cpp - English

Outline: Files in C -File handling functions -Opening a File closing a file --example: fopen, fclose -Reading data from a File

Advanced