Sunday, 23 December 2012

When can we use 'explicit' keyword..?


The keyword explicit is used to avoid implicit conversion. In case of implicit conversion we can initialise an object (with one argument) of a class using a constant. This is illustrated in the following program.

Wednesday, 7 November 2012

FAQs by begineers of C++

1. This is a common problem faced by beginners,that,how to create a self-executable(.exe) file..?
Ans  -  Well,the problem is simple.First of all check whether the code you have created is running without any errors/warnings.?Den the job is to check the output directory.For that you

Tuesday, 6 November 2012

Starting with C++

Installing C++(in Win XP/Vista/7 x32/x64)

I have been using Turbo C++ 3.0 since 2 years and i advice to use this version,as per my experience.It is user friendly.You can download it from here for XP/Vista/7 32-bit.Just extract the zip file in directory "C:\TC\",and run the Install.exe file,and after following some simple steps you will be able to run the program.