Search:

Type: Posts; User: wdicks

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    5,326

    I originally started this thread because it was...

    I originally started this thread because it was not working under Visual C++, and thought that perhaps it was just MS that did not comply with the C standard, but alas, the standard says no!:(
  2. Replies
    13
    Views
    5,326

    I was in contact with Dennis Ritchie of "Kernigan...

    I was in contact with Dennis Ritchie of "Kernigan and Ritchie" fame, and he said he doesn't think it is in C99, and definitely wasn't in previous standards.:(

    It is such a pity!:confused:
  3. Replies
    13
    Views
    5,326

    Yea, I've been on C++ since '94 and didn't know...

    Yea, I've been on C++ since '94 and didn't know if C was updated to handle default values for function prototype parameters.

    We're busy with a very intense project that is cramped into a very...
  4. Replies
    13
    Views
    5,326

    Then it is fine!

    Then it is fine!
  5. Replies
    13
    Views
    5,326

    This is what I have in my header file: /* sc.h...

    This is what I have in my header file:

    /* sc.h */

    sc_error_t DllDeclare SCSetUser_Privilege_IPSecAPIKey(
    char *pchUserKey,
    char *pchPrivilegeKey,
    BOOL fSA = TRUE, :confused:
    ...
  6. Replies
    13
    Views
    5,326

    I tried it with Visual C++ 6, and it doesn't...

    I tried it with Visual C++ 6, and it doesn't allow it. Is it actually in the ISO C standard?
  7. Replies
    13
    Views
    5,326

    Default values in function prototypes

    Hi,

    I would like to know if "C" allows one to put default values in function prototypes like in "C++?"

    Here is an example:

    int SetName( char *pchName, BOOL fNewName = TRUE ); :confused:
    ...
Results 1 to 7 of 7