Mail Archives: djgpp/1997/11/15/15:26:59
Hi,
I don't understand why the following source-code would be compiled into 200k. Please explain:
"#include <conio.h>
#include <iostream.h>
main()
{
char name[20];
clrscr();
cout << "Beware of the bear!" << endl;
cout << "What is your name stranger?" << endl;
cin >> name;
cout << name << ", we've been awaiting you..." << endl;
}
"
So anyway, when I compile this insane (but incredibly short source-code) I get 200k worth of EXE.
When using PASCAL to do an equvilent thing this would take up 3k, using BC++ v3.0 this would take up 30k.
But 200k is outragous! What is going on?
Gili
- Raw text -