4 ms·
funny. i was totally trolled for the first paragraph or two. did anyone else immediately have to go check how big hello world builds? elipse@lappy:~/Desktop$
by elipsey 13y ago
funny. i was totally trolled for the first paragraph or two.
did anyone else immediately have to go check how big hello world builds?
elipse@lappy:~/Desktop$ echo "#include<iostream>
using namespace std;
int main()
{
cout << \"hello world\";
}
" > hello.cpp
elipse@lappy:~/Desktop$ g++ hello.cpp
elipse@lappy:~/Desktop$ ls -lh a.out
-rwxr-xr-x 1 elipse elipse 8.8K Dec 6 13:46 a.out
elipse@lappy:~/Desktop$
not half a meg, but still kinda big if you stop and think about it, but the c way with printf was only a couple of hundred bytes smaller...