What is this?

This is a discussion on What is this? within the C++ Programming forums, part of the General Programming Boards category; Code: #ifdef __cplusplus extern "C" { #endif Is it to where, to accept C? if we have C++? like compatibility ...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    141

    What is this?

    Code:
    #ifdef __cplusplus
    extern "C" {
    #endif
    Is it to where, to accept C? if we have C++? like compatibility in VS?

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    It's amazing what you get when you type "#ifdef __cplusplus" into Google.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    141
    Quote Originally Posted by tabstop View Post
    It's amazing what you get when you type "#ifdef __cplusplus" into Google.
    Well I was going to do that, but I thought it was going to be invalid or something. :P

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21