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 pure virtual function? Or what is abstract class?
Can a list of string be stored within a two dimensional array?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
Who was the creator of c++?
Why was c++ made?
What is data abstraction? How is it different from data encapsulation?
Will a catch statement catch a derived exception if it is looking for the base class?
Array base access faster or pointer base access is faster?
What is class and structure in c++?
Why can templates only be implemented in the header file?
Is c++ used anymore?
What do you mean by overhead in c++?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What are mutator methods in c++?
What is wrapper class in c++?