Category: Tutorials

Constructors in C++

A constructor is a special method that is created when the object is created or defined. This particular method holds the same name as that of the object and it initializes the instance of the object whenever that object is created. The constructor also usually holds the initialization of the different declared member variables of its object.

Read More

Graphics in C Language

In a C program, first step is to initialize the graphics drivers on the computer. This is done using the initgraph() method provided in graphics.h  library. In the next few pages we will discuss graphics.h library in more details. Important functions in graphic.h  library will be discussed in details and samples programs will be provided to show the power of C programming language especially for graphic programming developing graphical user interfaces.

Read More

Working with Pointers in C

A pointer is a variable that represents the location of a data item, such as a variable or an array element. Pointers are used frequently in C, as they have a number of useful applications. For example, pointers can be used to pass information back and forth between a function and its reference point. Pointers provide a way to return multiple data items from a function via function arguments to
be specified as arguments to a given function.

Read More

Exception Handling in C++

Exceptions are the way of flagging unexpected conditions or errors that have occurred in C++ program. C++ Language provides a good mechanism to tackle these conditions. The exception mechanism uses three keywords: try, catch and throw.

Read More

Operator Overloading in C++

Operator Overloading enables us to make the standard operators, like +, -, * etc, to work with the objects of our own data types or classes. We can write a function which redefines a particular operator so that it performs a specific operation when it is used with the object of a class.

Read More

Strings in C++: A Complete Guide for Novice Programmers

Strings, the bedrock of text manipulation, play a pivotal role in programming across various languages. In C++, the standard library offers a powerful solution – the string class. Let’s dive into the world of C++ strings and explore the tools C++ provides for efficient string processing.

Read More

Understanding C++ Templates: A Simplified Guide

Learn the basics of C++ templates and how they are used in programming. This article breaks down the concept of templates, their types, and common challenges. From function templates to member function templates, discover their practical applications and potential pitfalls. Whether you’re a beginner or looking to deepen your understanding, this guide provides a straightforward explanation of C++ templates.

Read More

Are you ready to jump right into the exciting world of mobile development but have little or no programming experience? Then this is the perfect course for you!
View on Udemy