Coding Beyond Technology..

Friday, 22 May 2015

Using namespace std in Dev C++

Using namespace std : Its clear from the above that the phase is having three words:- using- means using what?? namespace - means using a namespace Std - it is a kind of namespace Therefore, the phase defines using a namespace of kind std. Why to use it ?? The built in C++ library routine are kept in the standard namespace. That includes stuff like cout, cin, string, vector, map etc....

Main Function

Main Funtion is a function from where the execution of the program starts. It is the first function that is called to perform other operation like calling of other functions etc. Every C++ program must contain a main function. This means that a main function is a mendatory and necessary funtion and an important one. Syntax:- return_type main () {      // body } return_type can...

Tuesday, 5 May 2015

Header files and their in-built function - 2

2. conio.h - Header File Syntax:-  #include<conio.h> This is one of most important header file used in C++ after iostream.h. It means CONSOLE INPUT OUTPUT (con-io). This header file include some of the important in-built functions like: i. clrscr():  Full form is "Clear Screen".This functions is used to clear all the previous outputs generated by the program which are not of any...

Header files and their in-built functions -1

Header files are pre-coded error free programs which are included before the actual programs are written . They provide  some in-built functions, classes etc which helps us to code , saves our time , make our  programs from being too lengthy and hence decreases compilation/execution  time. 1. iostream.h - header file     Syntax- #include<iostream.h> ( for Turbo...

Monday, 4 May 2015

Format - Header File Declaration

Header files are the pre-compiled or pre-coded files with correct logic and syntax that includes in-built functions, class, structure etc. , which may directly or indirectly can be used in the program to avoid the program coding from being lengthy and hence make the execution time fast. These files are stored in lib folder (library folder) of your respective IDE. Header files comes with the extension...

Sunday, 3 May 2015

Lets Start With C++ - a proper format

C++ coding is done on IDE- Integrated Development Environment. It is a software application that provides a platform to run ,compile and execute High Level Programming language. For C++ the IDEs are Dev C++ (recommended), Turbo C++, Borland C++ etc. Every IDE has compilers which compile the written...

Concepts Of OOP (Object Oriented Programming) - An Idea

Later, we discussed about the features of Object Oriented Programming (OOP). In this chapter, we are going to learn about the concepts that can be implemented by this paradigm, not in detail but a mild touch. We will be doing this in detail in the upcoming blog. CONCEPTS:- 1. Class and objects 2. Data Abstraction 3. Encapsulation and Data binding 4. Data Hiding 5. Polymorphism and overloading 6....

Why C++? - an Introduction

As the word defines itself "C + +" ,i.e "C Plus Plus" , quite similar like increment operator(++) in C, which means a step ahead of C language. This gives a whole picture that C++ includes all the features of C but along with it, it is a step ahead with new features. As a whole we can say, C...

Popular Posts

Recent Posts

Unordered List

Text Widget

Powered by Blogger.