C/C++

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

C/C++ are the general-purpose computer programming languages. Although they were designed for implementing system software, they are also widely used for developing portable application software.These includes concepts of program specification and design, algorithm development, and coding and testing using a modern software development environment.Students learn how to write programs in an object-oriented high level programming anguage.Topics covered include fundamentals of algorithms, flowcharts, problem solving, programming concepts, classes and methods, control structures, arrays, and strings.

At the end of the training, participants will be able to:

Pre-requisite

Attendees should have prior programming experience, though not necessarily in C or C++. Some prior knowledge of basic C syntax is helpful but not required

Duarion

5 days

Course Outline

  1. What is C?
  2. Background
  3. Sample Program
  4. Components of a C Program
  5. Examples
  6. Data Types
  7. Variables
  8. Naming Conventions for C Variables
  9. Printing and Initializing Variables
  10. Array Examples
  11. Compiling and Executing a C Program
  1. Examples of C Functions
  2. Functions
  3. sum Invoked from main
  4. Invoking Functions
  5. Elementary Operators
  6. The operator= Operators
  7. Operators
  8. The Conditional Operator
  9. Increment and Decrement Examples
  10. Increment and Decrement Operators
  1. Examples of Expressions
  2. if
  3. if else
  4. while
  5. for
  6. Endless Loops
  7. do while
  8. break and continue
  9. switch
  10. else if
  1. #define
  2. Macros
  3. #include
  4. Conditional Compilation
  5. #ifdef
  6. #ifndef
  1. Character I/O
  2. End of File
  3. Simple I/O Examples
  4. Simple I/O Redirection
  5. I/O with Character Arrays
  1. General
  2. Function Declarations
  3. Returning a Value or Not
  4. Function Prototypes
  5. Arguments and Parameters
  6. Organization of C Source Files
  7. Extended Example
  8. The getline Function
  9. The strcmp Function
  10. The check Function
  11. The atoi Function
  12. The average Function
  1. Defining the Problem Space
  2. A Programming Example
  3. Bit Wise Operators
  4. Bit Manipulation Functions
  5. Circular Shifts
  6. Chapter 8: Strings
  7. Fundamental Concepts
  8. Aggregate Operations
  9. String Functions
  1. Array Dimensions
  2. An Array as an Argument to a Function
  3. String Arrays
  4. Chapter 10: Separate Compilation
  5. Compiling Over Several Files
  6. Function Scope
  7. File Scope
  8. Program Scope
  9. Local static
  10. register and extern
  11. Object Files
  12. Libraries
  13. The C Loader
  14. Header Files
  1. Fundamental Concepts
  2. Pointer Operators and Operations
  3. Changing an Argument with a Function Call
  4. Pointer Arithmetic
  5. Array Traversal
  6. String Functions with Pointers
  7. Pointer Difference
  8. Prototypes for String Parameters
  9. Relationship Between an Array and a Pointer
  10. The Pointer Notation *p++
  1. Dynamic Storage Allocation – malloc
  2. Functions Returning a Pointer
  3. Initialization of Pointers
  4. gets – a Function Returning a Pointer
  5. An Array of Character Pointers
  6. Two Dimensional Arrays vs. Array of Pointers
  7. Command Line Arguments
  8. Pointers to Pointers
  9. Practice with Pointers
  10. Function Pointers
  1. Fundamental Concepts
  2. Describing a Structure
  3. Creating Structures
  4. Operations on Structures
  5. Functions Returning Structures
  6. Passing Structures to Functions
  7. Pointers to Structures
  8. Array of Structures
  9. Functions Returning a Pointer to a Structure
  1. typedef – New Name for an Existing Type
  2. Bit Fields
  3. unions
  4. Non-Homogeneous Arrays
  5. Enumerations
  1. System Calls vs. Library Calls
  2. Opening Disk Files
  3. fopen
  4. I/O Library Functions
  5. Copying a File
  6. Character Input vs. Line Input
  7. scanf
  8. printf
  9. fclose
  10. Servicing Errors – errno.h
  11. Feof
  1. The stat Function
  2. File Existence
  3. Telling Time – time and ctime
  4. Telling Time localtime
  1. A Database Application
  2. The menu Function
  3. The fwrite Function
  4. The create_db Function
  5. The fread Function
  6. The print_db Function
  7. fseek
  8. The retrieve_db Function
  9. fflush and ftell
  1. strstr
  2. strchr, strrchr
  3. system
  4. strtok
  5. strspn, strcspn
  6. Math Functions
  7. Character Testing Functions
  8. exit and atexit
  9. signal
  10. memcpy and memset
  11. qsort
  12. Binary Search – bsearch
  1. Course Prerequisites
  2. Course Objectives
  3. LCourse Delivery
  4. Course Practicals
  5. Course Structure
  1. Review of OOP principles
  2. Behaviour, state, identity,inheritance, polymorphism
  3. History and evolution of C++
  4. Key features of C++
  5. C++ as a better and safer C
  1. Grouping of data and functionality
  2. Syntax of a class declaration
  3. Syntax of use
  4. Public and private
  5. Abstract Data Types
  6. Program structure
  1. Member functions
  2. Function overloading
  3. Default arguments
  4. Ambiguities
  5. Anonymous arguments
  6. Resolving scope conflicts
  7. The Scope resolution operator
  8. The this pointer
  1. Life of an object
  2. Constructors
  3. operator new
  4. Death of an object
  5. Destructors
  6. operator delete
  7. Dynamic arrays
  1. Enumerations
  2. Const declarations
  3. Const member functions
  4. Const member data
  5. Inline function mechanism
  6. Reference variables
  1. An opportunity for reuse
  2. Scoping and initialisation
  3. Order of construction
  4. Member Initialisation lists
  5. Use of fundamental classes
  1. Delegating class functionality
  2. Dynamic associations
  3. Custody and lifetime
  4. Constant associations
  1. Operator functions
  2. Unary operators
  3. Binary operators
  4. Global operators
  5. Member operators
  6. Subscript operators
  7. Input operators
  8. Output operators
  9. Guidelines
  1. Static data members
  2. Static member functions
  3. Nested types
  4. Forward declarations
  5. Friend classes
  1. Organising collections of objects
  2. Template classes
  3. vector
  4. list
  5. Iterators
  6. Template functions
  7. Algorithms
  8. Using the Standard Library
  1. The copy assignment operator
  2. Copy constructors
  3. Conversions to a class object
  4. Conversions from a class object
  1. Extension of existing classes
  2. Notation, syntax, terminology
  3. Protected members
  4. Scoping and initialisation
  5. Multiple inheritance
  6. Abstract base classes
  7. Guidelines
  1. Modified class behaviour
  2. Virtual functions
  3. virtual destructors
  4. Late binding
  5. Inside the virtual function mechanism
  6. Pure virtual functions
  7. Use of pointers to base type
  8. Guidelines

Reviews