Author: M. Saqib

Print pyramids and diamonds in C Language

This article demonstrates how you can print pyramids and diamonds using for loop and if condition. Building a pyramid in c programming is quite easy provided that you understand the concept of how loops works.

Read More

Graphics Library (graphics.h) Reference (part 3)

In the previous two posts (Graphics Library Reference part 1 and part 2) I have discussed few important functions of graphics.h library in C Programming. As promised here is the sample C language program which will demonstrate the use of graphics functions using C language and draw some geometrical shapes on the console. If you have followed the previous two posts the you will not find the source code difficult to compile and execute. If you still experience any problems using the source code or compiling the code the please do let me know, and I will try to figure it out.

Read More

Graphics Library (graphics.h) Reference (part 2)

In the previous post I discussed few important functions mostly used to initialize and destroy the graphics mode in DOS environment. Today I will discuss graphics functions to draw different shapes and lines. So here we go by starting the line function which is most important function in creating any graphics.

Read More

Graphics Library (graphics.h) Reference (part 1)

Graphics programming in C Language is discussed rarely. Today I will discuss some important functions of graphics.h in C programming Language and in the next coming article I will make a simple program to demonstrate the use of graphics functions. This is the part one of the article which discuses the important graphics function to create and destroy the graphics environment. In part two I will show you different graphics functions to draw shapes. And in last part I will add a sample program to demonstrate the use of graphics.h library. So let’s start with the description of important functions and their use.

Read More

Welcome to C and C++ Programming Blog

This Blog is created to teach the students and the people who are new to C/C++ Programming. Articles will be added on a regular basis with code examples so that learning would be easy. All the source code will be made available...

Read More

Beginning C++17
Master modern programming with Beginning C++17 – your gateway to building powerful, efficient, and future-ready applications!
View on Amazon