Advertisement
Guest User

C++ implementation and Name

a guest
Nov 1st, 2011
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement