</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Kreator @ Sep. 29 2002,3:40)</td></tr><tr><td id="QUOTE">First of all, you are supposed to put the type when u declare the function:
e.g - blahblah(int a)
second, i think you wonna return (a==5), cuz (a=5) just assignes 5 to a and returns true. and u just do "return ..." instead of "bool return". the program alrdy knows it's bool when u declared the function.
Hope this helps</td></tr></table><span id='postcolor'>
Thanks a lot, I figured it out already, it was a mistake in the book about the "bool return", it's just return. Also, I forgot to declare.
|