Thread: hi friends can i help this program error

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    5

    hi friends can i help this program error

    Code:
     #define r ((4*2)/(21/7)+1)
    #define _ o
    #define _0 4
    #define __ main
     #define _o 2
     #define o (_0 * _o)
     #defne_O_O (r/r)
      __(_0,s_o,niral)
      chars_o;
      {return -_0<0?__(-4,"*X[&2SJ@z1'3#>E8A~)(=6$GT5,!KDNL?\n7&F%0AU[",_O_O/12):_0&1?*s_o?
     *s_o-niral?__(_0,++s_o,niral)_:_[s_o]:0:_0&2?__(_0,"*^\b-_8=&hJ\r2tinp1/S:'W>3r\n/_a-nl)g+9L>8-rI#?ini;
    9-en6B_eW$R[g+@GYe\tt-TnvRK!-_e^%WcsYNH9o\rz0+dB5,Ri.E-&nt_F\tgWpHDH4A_7~CoM^nU.ei^t^Xe^_^-t", 
    niral):*s_o?__(_0,s_o+1,putchar(__(_0+2,"welcome 2 sIMULCra, NIRAL 2@!! ",*s_o)));
      }
    Last edited by Salem; 02-26-2011 at 03:10 PM. Reason: Random wrapping, which probably breaks something - but who cares

  2. #2
    Registered User
    Join Date
    Feb 2011
    Posts
    5
    use pointer and other concept this one cue
    pls help me..
    this is final round bug..
    monday is last day ..
    this my point..
    __ is main() define in scope..
    and char *s_o;
    return fuction last semicolon missing,
    and header file missing
    <stdio.h>
    and other error came .. try it tell me .. urgent
    Last edited by karthikeyanvisu; 02-26-2011 at 02:00 AM.

  3. #3
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    holy crap! what on earth is this?!!
    If you're gonna write some obfuscated code..at least use code tags!
    You ended that sentence with a preposition...Bastard!

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Not really.
    Few have any patience for decoding IOCCC entries, much less for impatient students who spam boards demanding attention.

    FWIW, your tutor is a fsking idiot if they thing this is going to teach you anything useful about programming.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User TheBigH's Avatar
    Join Date
    May 2010
    Location
    Melbourne, Australia
    Posts
    426
    GAAARGH! MY EYES! THE GOGGLES DO NOTHING!

    Which error do you need help in fixing? What is this thing supposed to do, and what output should you get from it? When I try to compile this abomination I get at least twenty different errors. I'm guessing this is merely a fragment of a larger program and many of my compilation errors are because it's incomplete, but I can't even tell what this thing is supposed to do.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    It was either ripped from here
    The International Obfuscated C Code Contest

    Or it ought to be a submission.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  5. UNICODE and GET_STATE
    By Registered in forum C++ Programming
    Replies: 1
    Last Post: 07-15-2002, 03:23 PM