C++/G++ 手动扩栈
http://blog.csdn.net/fcxxzux/article/details/40053937
//hdu g++似乎现在无法扩栈啊?
g++:
int size = 256 << 20; // 256MB
char *p = (char*)malloc(size) + size;
__asm__("movl %0, %%esp\n" :: "r"(p));
c++:
#pragma comment(linker, "/STACK:102400000,102400000")