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
What is the use of object in c++?
What is else syntax in c++?
Why can templates only be implemented in the header file?
How can you quickly find the number of elements stored in a static array?
What is atoi?
Do you know what are static and dynamic type checking?
What happens if a pointer is deleted twice?
How can I disable the "echo" feature?
Differentiate between declaration and definition.
What is #include iostream?
How long it will take to learn c++?
Does dev c++ support c++ 11?
What is the difference between an external iterator and an internal iterator?
What is malloc in c++?
What is the difference between global int and static int declaration?