Course Detail
C/C++ introduction
[Download Outline]
C is a high-level programming language that was built off the C Language. The structure of C++ is similar to C, but having object-oriented features allows the programmer to build objects within the code.
Bjarne Stroustrup developed C++; a general-purpose programming language as an extension of the C programming language. C++ has spread widely over time, and modern C++ has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation. It is always applied as a compiled language and is accessible on many platforms.
Importance of C/C++ language
C++ (C plus plus) includes various operators such as comparison, arithmetic, bit manipulation and logical operators. On top of that, the most engaging element of C++ is that it allows the overloading of certain operators such as addition.
A few of the important concepts within the C++ programming language include polymorphism (a feature of occurring in several different forms), virtual and friend functions, templates, namespaces and pointers. C++ launched the idea of Class and Object; abbreviated high and low-level language features.
Uses of C/C++
C++ was designed diagonally toward system programming and embedded, resource-constrained software and large systems, with the efficient and flexible performance of use. Moreover, C++ is fundamentally used with system/application software, client-server applications, embedded firmware, etc.
Why learn C/C++?
1. Controls other advanced programming languages
Almost all modern programming languages are built by C/C++. Here are some typical examples:
2. Bring performance
If you are familiar with C/C++, then it will help you to achieve a better performance.
3. Understand the fundamental computer theories well
Understanding a computer network, you can build your own reliable protocol with more bellicose and efficient retransmission schemes. You can provide API interfaces for other advanced languages, like Python, Javascript etc. Additionally, all these key proficiencies are based on C/C++.
4. C/C++ powers the world
C/C++ is everywhere. In particular, they power more technologies than we know! Most operating system kernels are written in C. Advanced browsers are also written in C/C++ such as Chrome, Firefox etc.
C/C++ programming language training in Lahore, PK
The ICT-training institute serves you the most thorough and unequivocal C/C++ programming course. This course is especially served for the people who crave to enhance their programming skills. ICT-trainings teaching methodology aims to teach the language step by step in a practical way.
C/C++ Course Contents
C/C++ training curriculum covers the structured programming as well as OOPs Programming standards. The curriculum is designed to meet all the requirements of C/C++ core programming delivered in universities of Pakistan.
Overview
- Relating C, C++, Java, and C#
- The in-class development environment
- Other development environments
C/C++ Programming Building Blocks
The main function and standard I/O
- Displaying values and strings to cout / printf
- Reading values from cin / scanf
- Formatting with stream manipulators
Objects, constants, and references
- Declaring and initializing variables
- Utilizing C++ new keywords
- Integer and floating-point data types
- Performing calculations and displaying results
- Utilizing references for efficiency and constants for safety
Defining and calling functions
- Passing arguments to functions and returning values from functions
- Call-by-value vs. call-by-reference vs. call-by-address
- Scope, duration, and initial values variables
Decisions, loops, and logic
- Making decisions with if/else
- bool vs. int logical values
- if/else statement "chains"
- Performing loops with while and for
- Implementing C++ range-based for loops
- Equality, relational, and logical operators
Arrays, pointers, and strings
- Declaring and using arrays and pointers
- Storing strings in character arrays
- Accessing array elements via pointers
- Pointers vs. references
- Standard string class and functions
Defining C++ Classes and Objects
Encapsulating higher-level data types
- Public member functions and private data members
- Protected class members
- Constructors and destructors
- Self-reference: this pointer
- The class member operator (::)
Declaring, accessing, and modifying objects
- Manipulating arrays of objects, pointers to objects and references to objects
- Invoking member functions
- const member functions
- Passing objects by value and by reference
Overloading and templates
- Simplifying class interfaces
- Function signatures
- Overloading assignment (=)
- friend functions and classes
Separating interfaces and implementations
- How separation supports code reuse
- Building header files and code files
Extending Classes via Inheritance
Deriving new classes from existing classes
- Construction and destruction of derived objects
- Reusability via incremental extensions
- Base classes and derived classes
Utilizing polymorphic functions
- Overriding virtual base-class member functions in derived classes
Managing dynamic data
- Allocating and deallocating memory with new and delete
- Handling errors with try and catch
- Avoiding memory leaks
Practical Approach
Practical examples will be given for design, analysis, implementation, and maintenance.