SHARE
TWEET

C++ implementation and Name

a guest Nov 1st, 2011 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "stdio.h"
  2. #include "cpp.h"
  3.  
  4. /*
  5. ** Sometimes I feel this is both how C++ is implemented,
  6. ** and how it got it's name.
  7. */
  8.  
  9. int main( int argv ,const char **argv ) {
  10.   struct c_language *c = malloc( sizeof(struct c_language) );
  11.   if( c == 0 ) {
  12.         return( 1 );
  13.   }
  14.   init_language( c );
  15.   c++;
  16.   return( *(c->main( argc ,argv )) );
  17. }
  18.  
  19.  
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