Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11

    Default Re: C/C++ PUZZLE! try this one! this helps great!


    Quote Originally Posted by xyberblue
    HUBAG
    bisan kulang imo answer show your solution oi...

  2. #12

    Default Re: C/C++ PUZZLE! try this one! this helps great!

    Actually mao nay ingon sa author..... Wala ko solutions....

  3. #13

    Default Re: C/C++ PUZZLE! try this one! this helps great!

    HUBAG!

    Code:
    #include <stdio.h>
    #include <conio.h>
    
    
    void recursive(int x,int y)
    {
      static int i=y--,a=0;
    
      switch(++a){
       case 1:
         printf("%c",(int)0x55); break; // first non recursive pass: decimal(85) output: "U"
        case 2:
         printf("%c",(int)0x42); break; //recursive first pass: decimal(66) output: "B"
       case 3:
         printf("%c",(int)0x41); break; //recursive second pass: decimal(65) output: "A"
      }
    
     if(x!=y) 	// while x not equal to y callself,
      recursive(i--,y);
    	
    }
    
    void main()
    {
      unsigned long x=0x48; // x = 48(hex) decimal(72)
    
      int y=x<<=1; 	// x = 1001000(Binary) binaryshift x = 10010000 which is = 144(decimal)
    					//x = 144 y = 144
    
    
      printf("%c",(y+x)-(int)0xd8); // ((144+144 = 288) - (int)216) = [72] output: "H"
      recursive(x,y);
      printf("%c!",(int)0x47);//decimal(71) output: "G!"
    
      //final output: HUBAG!
    }

  4. #14

    Default Re: C/C++ PUZZLE! try this one! this helps great!

    OT: oh noo.. ni gamay akong post!!!!!!!!!!111111oneoneone (auto trim?) *starts spamming*

  5. #15

    Default Re: C/C++ PUZZLE! try this one! this helps great!

    Great JOB!


    nice job silent killer

    you did great!



  6. #16

    Default Re: C/C++ PUZZLE! Already Solved by Silent -KILL bravo ur great, silentKIll

    Hoy... show your solutions..... Wla may solutions....... gisuwayan na diay nig pa run....

  7. #17

    Default Re: C/C++ PUZZLE! Already Solved by Silent -KILL bravo ur great, silentKIll


    Hi, whoever posted this program you give us fun, thanks but please make sure you specify in what way to solve next time. We al know programs are already solutions to problems. If it's output tracing then we could have just run the program and tell you how it works. It's better if it's debugging or making the program from scratch.

    Just a thought baby!

  8. #18

    Default Re: C/C++ PUZZLE! Already Solved by Silent -KILL bravo ur great, silentKIll

    lingawa...hahaha

  9.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. Policeman by day; Taxi Driver by night KILLED
    By Motownkid in forum Politics & Current Events
    Replies: 18
    Last Post: 04-16-2010, 10:44 PM
  2. Replies: 3
    Last Post: 10-15-2009, 03:41 PM
  3. Tourist killed by tiger after jumping from Great Wall of China
    By tarantado07 in forum Politics & Current Events
    Replies: 59
    Last Post: 03-29-2009, 12:26 PM
  4. Replies: 48
    Last Post: 11-23-2007, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top