View Single Post
Old 09-29-2002, 02:40 PM   #5
Kreator
Nissanaholic!
 
Kreator's Avatar
 
Join Date: Mar 2002
Location: MD
Age: 41
Posts: 1,975
Trader Rating: (0)
Kreator will become famous soon enoughKreator will become famous soon enoughKreator will become famous soon enough
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



__________________


кто болеет за Зенит, у того всегда стоит!
Kreator is offline   Reply With Quote