i tried to compile the code c++0x was proposing, and, apart from the missing semicolon after long a, i got the following error messages:
: In function 'push':
:11: error: invalid type...
Type: Posts; User: esacmils
i tried to compile the code c++0x was proposing, and, apart from the missing semicolon after long a, i got the following error messages:
: In function 'push':
:11: error: invalid type...
not a bad guess at all :D
the algorithm i`m implementing at the moment won`t call itself anywhere near as much as the test program above, but since i didnt know anything about stacks and the like...
so, is there a way to enlarge the stack size?
and if yes, what kind of negative impact on the system or the program itself could it have?
thanks!!
i`m trying to code some recursive algorithm and run into a segmentation fault upon executing the program. since i`m quite new to programming, especially in c, i wrote the following piece of code just...