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 cout in c++?
Is it possible to get the source code back from binary file?
Differentiate between a copy constructor and an overloaded assignment operator.
Is c++ primer good for beginners?
Write about the various sections of the executable image?
Explain what is polymorphism in c++?
What are c++ files?
Describe Trees using C++ with an example.
What are the advantages of prototyping?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is the best c++ book?
What do you mean by “this” pointer?
Explain the pure virtual functions?
Explain the concept of memory leak?
Differentiate between realloc() and free().