Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switch Conditionals in Functions not working????
#5
The function would still return something, whether you choose to do anything with it is up to you. If you wanted the value that function returns you would just do:
Code:
char returned = FUNC_RACE_GOOD(); // Call the good race function, storing the return value in 'returned'
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Reply


Messages In This Thread
RE: Switch Conditionals in Functions not working???? - by MrD. - 04-16-2010, 01:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best Functions for File Input/Output? Metapod 3 1,175 06-17-2011, 01:15 PM
Last Post: Mr. House
  Why are all the functions in programming languages English? nevets04 13 2,508 11-09-2009, 06:07 PM
Last Post: J4P4NM4N
  Hacker's test C functions g4143 4 1,187 11-03-2009, 09:11 PM
Last Post: g4143

Forum Jump:


Users browsing this thread: 1 Guest(s)