O'Reilly logo
  • Lee Gramling thinks this is interesting:

On Windows, the default stack size is 1 MB, and on x86 Linux, it is 2 MB. Visual C++ allows you to specify a bigger stack with the /F compiler switch (or the /STACK linker switch). The gcc compiler allows you to change the default stack size with the --stack switch.


Cover of Beginning C++ Programming


stack size on windows is 1MB and linux is 2MB