got it. thanks.

Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: Tamas Marki 
  To: [email protected] 
  Sent: Tuesday, April 07, 2009 9:09 AM
  Subject: Re: [c-prog] C language


  On Tue, Apr 7, 2009 at 4:39 PM, Tyler Littlefield <[email protected]> wrote:
  > yeah. I got that. I was just wondering why void would be inserted there.

  Because in C it's not the same.

  int func1 () { }
  int func2 (void) { }

  These are two different things. If you leave it empty, it means that
  the function can have any number of parameters, while if you
  explicitly specify void then it means the function should not get any
  parameters.

  -- 
  Tamas Marki


  

[Non-text portions of this message have been removed]

Reply via email to