Answer the question
In order to leave comments, you need to log in
How to set boolean function in c++ in xcode program?
I'm trying to write a c++ function that returns a bool, for example bool Positive(double X); writes that it should be void. What to do?
Answer the question
In order to leave comments, you need to log in
[shaman]
most likely you have void in *.h, and in *.c you replaced void with bool, so the compiler swears
[/shaman]
show the code :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question