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
How do you establish an is-a relationship?
What is private public protected in c++?
What is c++ library?
what is C++ objects?
What is the object serialization?
What is a constructor in c++ with example?
Difference between struct and class in terms of access modifier.
What are manipulators in c++ with example?
What is a flag in c++?
What is function prototyping? What are its advantages?
Write a Program to find the largest of 4 no using macros.
what is COPY CONSTRUCTOR and what is it used for?
What is a container class? What are the types of container classes in c++?
Explain rethrowing exceptions with an example?
Can you please explain the difference between static and dynamic binding of functions?