Destructors in C++
As opposed to a constructor, a destructor is called when a program has finished using an instance...
Read MorePosted by M. Saqib | Sep 10, 2008 | C++ Programming: Different Articles on C++ Programming |
As opposed to a constructor, a destructor is called when a program has finished using an instance...
Read MorePosted by M. Saqib | Sep 10, 2008 | C Programming: Different Articles on C Programming |
C programs are executed in a sequence, but we can control the execution of program by using any control mechanism by which we can compare things and come to a decision. This involves using some operations called Relational Operators, conditional statements called if-else and loops. We have fundamental operators to compare two values.
Read MorePosted by M. Saqib | Sep 10, 2008 | C Programming: Different Articles on C Programming |
The standard way of handling all input and output is done with streams in C programming regardless of where input is coming from or where output is going to. This approach has definite advantages for the programmer. A library package has been evolved which is known as known as the Standard I/O Library which is used in any C program by using stdio.h header. First, however, we need to understand exactly what the terms input and output mean in context of C.
Read MorePosted by M. Saqib | Sep 10, 2008 | C Programming: Different Articles on C Programming |
Function groups a number of program statements into a unit and gives it a name. This unit can be invoked from other parts of a program. A computer program cannot handle all the tasks by it self. Instead its requests other program like entities – called functions in C – to get its tasks done. A function is a self contained, named block of statements that perform a coherent task of same kind.
Read MorePosted by M. Saqib | Sep 10, 2008 | C Programming: Different Articles on C Programming |
In C Programming, an array can be defined as number of memory locations, each of which can store the same data type and which can be referenced through the same variable name. Arrays can be of two types i.e. One Dimensional Array (such as lists) and Multidimensional Arrays (such as tables or matrices).
Read MoreMicrosoft DirectX is a set of application programming interfaces (APIs) for multimedia-related tasks, such as gaming, video playback, and graphics rendering. DirectX provides a standardized way for software developers to access hardware resources like graphics cards, sound cards, and input devices.
Read MoreC# and .NET have a symbiotic relationship. Certain features in C# are tailored to complement the capabilities of .NET, and conversely, specific aspects of .NET are designed to align seamlessly with C#. However, it’s worth noting that .NET is versatile, aiming to accommodate a plethora of programming languages.
Read MoreFor a programming language to be considered Object-Oriented, it must support the concept of objects (abstract data types), inheritance, and polymorphism. In simple terms, OOP allows you to model your code after real-world entities, making it more intuitive and efficient. As you delve into C++ and its OOP features, keep in mind that the goal is to create programs that are not only functional but also easy to understand, maintain, and reuse.
Read More