Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

compile error part1.5/main.cpp:29: 'exit' was not declared #3

Open
iGx opened this issue Nov 24, 2011 · 0 comments
Open

compile error part1.5/main.cpp:29: 'exit' was not declared #3

iGx opened this issue Nov 24, 2011 · 0 comments

Comments

@iGx
Copy link

iGx commented Nov 24, 2011

part1.5/main.cpp:29: error: 'exit' was not declared

header with declaration needed

include <stdlib.h>

or better
replace "exit(0)" with "return 0"

platform Linux 2.6.31-gentoo-r10 #11 SMP, i686-pc-linux-gnu-4.3.4

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant