Category: Tutorials

Advanced Concepts and Patterns in Encapsulation

While grasping the fundamentals of encapsulation is crucial, delving into advanced concepts and patterns elevates code design and maintainability further in C++. In this article, we will explore sophisticated aspects of encapsulation that go beyond the basics and provides you with a deeper understanding of its applications and impact on software development.

Read More

A Guide to Advanced Exception Handling in C++ Programming

An exception usually signals an error. One of the major features in C++ is exception handling, which is a better way of thinking about and handling errors. Thought it doesn’t always indicate an error, it can also signal some particularly unusual even in your program that deserves special attention. This article also covers try, throw, and catch, the C++ keywords that support exception handling.

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
Mothers Day Gift Ideas