Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many lines of code you have written for a single program?

Answer Posted / george

If you want to make a simple Hello World program in a
Comand propt(Console) window. Here is its shortest's code:

#include "stdafx.h"
#include <iostream>
using namespace std;

int main()
{
cout << "Hello world" << endl;

cin.get();
return 0;
}
Check out my Youtube channel for 2 tutorials and see how
long can very very simple apps be!
http://www.youtube.com/user/GGames2009

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of object in c++?

1154


What is else syntax in c++?

1263


Why can templates only be implemented in the header file?

1142


How can you quickly find the number of elements stored in a static array?

1137


What is atoi?

1022


Do you know what are static and dynamic type checking?

1104


What happens if a pointer is deleted twice?

1322


How can I disable the "echo" feature?

1233


Differentiate between declaration and definition.

1103


What is #include iostream?

1297


How long it will take to learn c++?

1101


Does dev c++ support c++ 11?

1086


What is the difference between an external iterator and an internal iterator?

1141


What is malloc in c++?

1068


What is the difference between global int and static int declaration?

1151