Profit/Loss Calculator

This is a small utility written in C Programming Language to calculate the net income by checking a person’s salary and monthly expenses. On the basis of this information it calculates the loss or profit. It has a nice graphical User Interface with different formats to show the information i.e. Pie Chart: Shows the information in Pie chart with different colors for salary, expenses and net income. Tabular: Show all the information in tabular form. Bar Graph: Shows the information in Bar Graph with different colors for salary, expenses and net income.

Text editor

This program is written in pure C programming language. The interface of the C program is just like Turbo C/C++ compiler like interface, and it also provides some dialog boxes same like the Turbo C/C++ compiler. It has menus just like C/C++ compiler, text formatting options and also provides options to change font color.

C Calculator Program

This is a simple calculator written in C language and works under DOS Command prompt. The calculator performs all the basic arithmetic operations including addition, subtraction, trigonometric calculations, and many other functions. It can also calculate logarithms,...

From C to C++ – What’s new?

As we begin the study of C++ and object oriented programming, a few comments are in order to help you get started. Since the field of object oriented programming is probably new to you, you will find that there is a significant amount of new terminology for you to grasp. This is true of any new endeavor and you should be warned not to be intimidated by all of the new concepts.

Scientific Calculator Program

This graphical scientific calculator purely written in C programming language. It uses small functions to draw buttons on the screen and perform scientific operations like conversion, logarithm, and other operations. Every operation can be performed using the mouse buttons as well as keyboard. It can perform almost all the functions shown on the screen except few functions which will be implemented in the next version of this calculator code.

Statements in C#

The real nuts and bolts of a programming languages is that which controls the flow of a program called statements. Types of Statements in C# C# borrows most of its statements directly from C and C++, though there are some noteworthy additions and modifications....

Predefined Datatypes in C#

Here we will see the data types available in C#. Before examining the data types in C#, first we will try to understand the C# have two categories of data types. Value types Reference types Value type data type is that which stores the value directly in the memory....

Application Structure

Let’s begin by looking at the structure of a C# application. Every C# application contains certain elements. The application begins with the hierarchical levels, listed here in order of appearance. Namespace Class Method Every application begins with a namespace...

An Overview of C#

C# is a new programming language specifically designed for Microsoft .NET Framework. C# is significant in two respects. It is specifically designed for use with Microsoft’s .NET Framework. It is based on modern Object Oriented Design methodology. An Overview C#...

Stack Implementation in C

This is a C program that simulates stack operations graphically and in text mode. The program uses linked list to implement stack operations. Stack is a very useful data structure for real life scenarios and used in many other data structures. For example, Processors,...

Bayer-Trees implementation in C

This is implementation of Bayer-Trees, which are normally used for indices of data bases. These routines provide all stuff that is needed to create and destroy; insert, update and delete; load and destroy; search and traverse; check a tree. Sort huge amounts of data by doing a multi-phase sorting on temporary files.

Objects

Structured programming only deals with procedures (functions) and variables. The basic idea behind the Object Oriented Programming is that it deals with the objects. In real life everything is an object and every object has properties and functionality. As everything...

Classes – Object Oriented Programming

If we say that a particular programming language is Object Oriented then it means, the programming language must have the facility to define classes in it. A class is an expanded concept of a data structure i.e instead of containing data only, it can contain both data...

Personal Organizer

NeoMem allows you to store and organize all kinds of information in a cross between a word processor and database. The interface is similar to Windows Explorer, except that instead of dealing with files on a hard disk you deal with objects in a file. It can be used to store to do lists, books, website passwords, addresses, account information, and collections of all kinds. You can define your own classes for items that you want to store information about, and define properties for those objects. Each object can also store formatted text in a simple word processor view.

Functions in C++

Functions are the building blocks of any programming language. A Function is a self contained block of code with a specific purpose. It has a name that is used to identify and call it for execution. The function name is global, but it is not necessarily unique in C++....

File Handling in C Programming

This article is about file handling using C programming language. File stores information for many purposes and retrieve whenever required by our C programs. A file represents a sequence of bytes on the disk where a group of related data is stored. File is created for permanent storage of data. C programming language can handle files as Stream-oriented data (Text) files and System oriented data (Binary) files.

The Standard C++ Library

The 1998 C++ standard consists of two parts: the core language and the C++ standard library; the latter includes most of the Standard Template Library and a slightly modified version of the C standard library. Many C++ libraries exist which are not part of the...

Strings in C++

String in C/C++ is not more than a array of characters. String encapsulates the functionality of traversing, replacing, copying of one character array to another. One of the biggest time-wasters in C is using character arrays for string processing: keeping track of...

Templates in depth

Templates are of great utility to programmers in C++, especially when combined with multiple inheritance and operator overloading. The C++ Standard Template Library (STL) provides many useful functions within a framework of connected templates. As the templates in C++...

Advance Exception handling

An exception usually signals an error. Thought it doesn’t always indicate an eror, it can also signal some particularly unusual even in your program that deserves special attention. Exception & Errors Handling No mater how good our program is, it always have...