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 cout in c++?

1052


Is it possible to get the source code back from binary file?

1356


Differentiate between a copy constructor and an overloaded assignment operator.

1074


Is c++ primer good for beginners?

1040


Write about the various sections of the executable image?

969


Explain what is polymorphism in c++?

1127


What are c++ files?

1139


Describe Trees using C++ with an example.

1149


What are the advantages of prototyping?

1060


C is to C++ as 1 is to a) What the heck b) 2 c) 10

1057


What is the best c++ book?

1264


What do you mean by “this” pointer?

1070


Explain the pure virtual functions?

1118


Explain the concept of memory leak?

1101


Differentiate between realloc() and free().

1045