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
Define the process of handling in case of destructor failure?
What is constructor and destructor in c++?
Please explain the reference variable in c++?
What is a wchar_t in c++?
What is split a string in c++?
Write a code/algo to find the frequency of each element in an array?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Is arr and &arr are same expression for an array?
What type of question are asked in GE code writing test based on c++ data structures and pointers?
Write a C++ Program to check whether a number is prime number or not?
What are the 3 levels of programming languages?
What is a storage class used in c++?
What is difference between malloc()/free() and new/delete?
What is the benefit of learning c++?
What is an inclusion guard?