if I define a function with no parameters, should i put void?
From: TTroy (tinesan_at_gmail.com)
Date: 02/17/05
- Next message: infobahn: "Re: Code in ASCII UTF8??"
- Previous message: Clark S. Cox III: "Re: Code in ASCII UTF8??"
- Next in thread: Andrey Tarasevich: "Re: if I define a function with no parameters, should i put void?"
- Reply: Andrey Tarasevich: "Re: if I define a function with no parameters, should i put void?"
- Reply: Jens Marder: "Re: if I define a function with no parameters, should i put void?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Feb 2005 09:59:15 -0800
For function definitions (not declarations/prototypes), is it necessary
to put void in the emptry braces if the function is to receive no
parameters? Does this turn any error checking off or cause any other
effects?
-thanks
- Next message: infobahn: "Re: Code in ASCII UTF8??"
- Previous message: Clark S. Cox III: "Re: Code in ASCII UTF8??"
- Next in thread: Andrey Tarasevich: "Re: if I define a function with no parameters, should i put void?"
- Reply: Andrey Tarasevich: "Re: if I define a function with no parameters, should i put void?"
- Reply: Jens Marder: "Re: if I define a function with no parameters, should i put void?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|