Re: [Dev-C++] Why thisC example don't presents the correct result ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Maya <Esc...@ne...> - 2003-12-12 11:14:48
|
s2...@st... wrote: >No, the stack is never cleared (push and pop don't delete data, just >declare it useless) so on its top there are datas > Ehmm, data is the plural, and datum the singular. Sorry! >of the other functions >you invoked, or random data; but vectors are used from top to bottom, so >that loop won't print that, but all internal vars previously allocated, >the function (main) arguments, and so on until some of this is 0 or is >reached the end of the segment (that results in a segmentation fault on >Unix and an access violation in Windows).. > > -- Jorge Escalante FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |