What is MSI Installer and Exe based Installer

Windows application can be installed on Windows using Windows Installer or 3rd Party installer. MSI is a database file used by Windows Installer which runs as Windows Service. MSI contains different components like files, registry data, shortcuts etc. The GUI that used during installation is also the part of MSI. It also contains information about [...]

Continue reading →

What is the “sizeof” operator in C C++

sizeof operator is useful operator to get the size of type or variable( auto,pointer, array). Return value of sizeof operator is of type size_t.  Its defined in the file file STDDEF.H. The advantage of using sizeof operator is, you dont need to specify the machine dependent data. 1. When a type is passed, it should be [...]

Continue reading →

C# Language : Getting Started

C# is programming language from Microsoft. How different is it from other languages provided by Microsoft, well its managed. If you remember even Microsoft has released a version of Java VJ++ after Sun Java became popular. However after the sued by Sun, Microsoft has stopped releasing any further version of Visual J++. But They come [...]

Continue reading →

Operator overloading (Compile time polymorphism-static binding)

This is another type of polymorphism also called as compile time polymorphism or static binding. Operator or function overloading essentially means having multiple functions or methods with same name. Operators are the special functions which carry out certain operation on operands, such as equating, comparison, addition, subtraction etc. We know various arithmetic operators, comparison, logical [...]

Continue reading →

Various types of Function overloading (compile time polymorphism / static binding)

Polymorphism means same entity behaving differently at different times. Compile time polymorphism is also called as static binding. Compile time or static binding means Function body is bind to the function call at compile time itself.  In C++ compile time polymorphism can be achieved using Function overloading and operator overloading. Function overloading Function overloading means, [...]

Continue reading →

C++ : Explain constructors Usage

To initialize an object of a class, we need a constructor. We can use default constructor provided by compiler or we can overload constructors or override zero argument constructor similar to default constructor. Constructor Ex. It does not have any argument. Unlike normal functions, it doesn’t return any value. Has same name as that of [...]

Continue reading →

Why do we need constructors in C++

Prior to C++ programming or Object oriented programming; procedural languages such as C language were used. Procedural language program have typical structure where variables needs to be declared to hold data and functions need to be declared to operate on these variables. To share variables among various parts of program (or with number of functions) [...]

Continue reading →

Where does C++ program data stored

Every C++ program has some defined Input, Processing and desired Output.  C++ program contains Data and Operations to operate on data. If you see a memory structure of C++ Program, while loading into the memory, Data Section and Code section is created. But data section is not the only place where program data is stored [...]

Continue reading →
Page 1 of 512345»