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

int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1261


Is std :: string immutable?

1042


What is the standard template library (stl)?

1785


Can we sort map in c++?

1017


How can you differentiate between inheritance and implementation in c++?

1219


What is linked list in c++?

1134


What is flag in computer?

1055


give me an example for testing a program showing the test path .show how the test is important and complex.

2938


What is abstraction c++?

1012


Explain the properties and principles of oop.

1030


List the types of polymorphism in c++?

1106


What programming language should I learn first?

1101


What are the advantages of using friend classes?

1152


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1034


Differences between private, protected and public and give examples.

1066