http://www.theprodukkt.com/kkrieger/


Orion_ :
oh punaise il l'a donc vraiment coder son engine 3D sur smartphone, ce mec est un dieu![]()
http://d-c-o.livejournal.com/1107.html
)Meowcate :
Déjà posté il me semble. Ca montre bien que les créateurs de jeux actuels sont de gros nuls![]()
$ cat a.cpp && g++ -s -Os a.cpp && ls -l
#include <iostream>
int main()
{
using namespace std ;
cout << "hello world !" << endl ;
return 0 ;
}
-rwx------+ 1 xxxxxxxxxx Aucun 119 Sep 7 14:29 a.cpp
-rwxr-xr-x 1 xxxxxxxxxx Aucun 211456 Sep 7 14:31 a.exe

$ cat hello.c
#include <stdio.h>
int main(void)
{
printf("Hello World !");
}
$ gcc -Os hello.c -o hello
$ du -b hello
7007 hello

$ cat a.c && gcc -s -Os a.c && ls -l
#include <stdio.h>
int main(void)
{
printf("Hello World !");
}
-rwx------+ 1 xxxxxxxxx Aucun 77 Sep 7 14:41 a.c
-rwxr-xr-x 1 xxxxxxxxx Aucun 5120 Sep 7 14:41 a.exe
)$ g++ hello.cpp -s -Os -o hello && du -b hello 3940 hello
$ uname -a && g++ -v Linux centraldeb 2.6.16-2-k7 #1 Fri Aug 18 19:48:42 UTC 2006 i686 GNU/Linux Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)

Sasume :
Ben c'est évident que la différence réside là-dedans![]()
Mais bon, en C++ en utilise plutôt iostream que stdio...