This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is there any way for exit(1)


On Tue, Mar 24, 2009 at 19:25, gfx art <xgrafix@gmail.com> wrote:
>
> List.cpp: In member function âvoid List::erase(int)â:
> List.cpp:68: error: âexitâ was not declared in this scope
>
> ***********************
>
> #include <iostream>
> #include <cassert>
>

exit is declared in <cstdlib>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]