SHARE
TWEET

Untitled

a guest Jan 21st, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifdef __cplusplus
  2.     extern "C" {
  3. #endif
  4.  
  5. //...
  6.  
  7. #ifdef __cplusplus
  8.     }
  9. #endif
  10.    
  11. complex sqrt(complex); //C++ linkage by default
  12. extern "C" {
  13.     double sqrt(double);//C linkage
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top