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
Discussion on error handling of C++ .
Discuss the possibilities related to the termination of a program before entering the mainq method?
What does the nocreate and noreplace flag ensure when they are used for opening a file?
When must you use a pointer rather than a reference?
Why #include is used?
What does obj stand for?
What is a class template in c++?
What is a class template?
What is iterator c++?
What is meaning of in c++?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
Which is most difficult programming language?
Difference between struct and class in terms of access modifier.
Is c++ low level?
What is vectorial capacity?