Currently browsing category

C Programming

Includes posts related to C programming

Use of Structures in C Programming ‘struct’

So far I think you have already read our tutorial on ‘Understanding Use of Arrays in C Programming. Unlike array, a structure is a package of one or usually more variables which are grouped under a single name. Structures are not like arrays: a structure can hold any mixture of …

Heap Sort – C Source Code and Algorithm

Heap sort is a relatively simple algorithm built upon the heap data structure. A naive implementation requires additional space, but it is possible to do a heap sort in place. Heap sort has guaranteed O(n*log(n))) performance, though the constant factor is typically a bit higher than for other algorithms such …

Advance Learning of Pointer and use with Array, Constant, Function, Pointer

As in my last post we talked all about fundamentals of Pointers in C. In this we will some more complex things related to Pointers so you need to more concentrate while you read the post. So in this part we will develop more complex ideas about Pointers. The following …

C++ Program on Temperature Conversion ‘Celsius to Kelvin to Fahrenheit’

This program will let you convert temperature from one unit to other unit. The first program will convert Celsius to Kelvin. The …

C++ Project on Library Management System

This project of “ LIBRARY MANAGEMENT SYSTEM” of gives us the complete information about the library. We can enter the record of …

Understanding Pointers in C Programming with Examples

With my experience of studying Programming with C, the toughest part of C Programming Language was to understand the use of Pointers in …

Understanding One Dimensional Array in C Programming

What is Array? Some programs may need to handle same type of different number of data having same characteristics. In such situation, …

Understanding Functions in C Programming

  A function is a module or block of program code which deals with a particular task. Making functions is a way …

Gaming Project Tutorial for Tic-Tac-Toe in C plus plus

This is a simple game project tutorial for Tic-Tac-Toe in C plus plus, Tic-tac-toe is a pencil-and-paper game for two players, X …

Understanding Jump Statements in C language – Goto, Switch. Break, Continue

The jump statements in C language unconditionally transfer program control within a function. Such statements are used on programs where certain results …

Understanding While and Do While Loop Structures

We already discussed about for loop structure in C language in previous article along with an example. We also mentioned that there …