Results 1 to 3 of 3

Thread: Default function parameters in C (Resolved)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Location
    UK
    Posts
    18

    Default function parameters in C (Resolved)

    I am using the Keil uVision2 embedded C compiler and trying to figure out why i can't use default parameters in my function definitions. Is it just that C doesn't support this? Or is the syntax different from C++?
    Last edited by AndyMitchell; Dec 15th, 2003 at 09:50 AM.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It's just that C doesn't support default parameters or overloaded functions.

    Not sure about C99 though.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Hyperactive Member sw_is_great's Avatar
    Join Date
    Nov 2003
    Posts
    330
    c does not support that
    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width