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
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Is std :: string immutable?
What is the standard template library (stl)?
Can we sort map in c++?
How can you differentiate between inheritance and implementation in c++?
What is linked list in c++?
What is flag in computer?
give me an example for testing a program showing the test path .show how the test is important and complex.
What is abstraction c++?
Explain the properties and principles of oop.
List the types of polymorphism in c++?
What programming language should I learn first?
What are the advantages of using friend classes?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
Differences between private, protected and public and give examples.