[Browse] [Tag cloud]

Log on:
Powered by Elgg

James E. Cleveland :: Blog :: SE1A5: Using preprocessor constants to write a custom version of C

October 23, 2008

Seeing as you can replace almost anything using #define, I decided to see exactly what I could achieve with this.

What did I get? No less than a version of C in the pinnacle of human dialect...

chav.h

chav.c

Keywords: c, chav, constants, define, preprocessor

Posted by James E. Cleveland | Share


Comments

  1. user icon
    That has genuinely made me laugh, and feel somewhat sick at the same time. Kudos!

    Philip Stears on Thursday, 23 October 2008, 15:13 BST # |

  2. user icon
    Love.It.

    P@ Parslow on Thursday, 23 October 2008, 15:24 BST # |

  3. user icon

    My soul would weep black tears, if I had one left...

    R.

    Richard Hussey on Thursday, 23 October 2008, 16:39 BST # |

  4. user icon
    That's actually *fantastic* :D

    Emma J Guy on Thursday, 23 October 2008, 20:38 BST # |

  5. user icon
    Haha... oh wow.

    Thom Rea on Friday, 24 October 2008, 10:55 BST # |

  6. user icon
    *applauds*

    Edwin PorterDaniels on Friday, 24 October 2008, 11:26 BST # |

  7. user icon
    Thats pretty darn funny, nice one!

    Josh on Monday, 27 October 2008, 00:12 GMT # |

You must be logged in to post a comment.

/