Cheat Happens Game Cheats and Wallpapers
Cheat Happens Game Cheats and Wallpapers
 
Cheat Happens Game Cheats and Wallpapers
 
     TRAINERS       REQUESTS       GAME REVIEWS       GAME WALLPAPERS       BOARDS
-OR-
  SAVE 25% ON A LIFETIME MEMBERSHIP WITH PROMO CODE "CHULIFEPROMO25" -- LIMITED TIME! [ close ] 
 
     
 

ghost42
[email address hidden]

Rank: ELITE  
Member Since: May 05, 2005
Last Visit: Apr 21, 2014
Location: Australia
Message Boards Postcount: 3613
 
view blog comments  
  view all board posts  new private message
add to address book  add to my friends
 
     
       
   LATEST BLOG ENTRIES:  SUBSCRIBE TO THIS BLOG (21 subscribers) 
 


I Needed To Do Recursion In A Class.
posted 4/2/2014 3:45:55 AM

// They didn't say no nested recursion.
// Here's the source:

#include <iostream>

using namespace std;

void recursion (int a, int b);
void call (int i);
void gap (int i);
void star (int i);

int main()
{

int i = 1;
while (i>0){
cout << "Enter a number: \n";
cin >> i;
if (i > 0)
{
call(i-1);
}
}
return 0;
}

void call (int i)
{
recursion(i* -1, 1);
}

void recursion (int a, int b)
{
gap(a * -1);
star(b);
cout << "\n";
if (a<0)
{
recursion(a+1, b+1);
gap(a * -1);
star(b);
cout << "\n";
}
}

void gap(int i)
{
if(i>0)
{
cout << " ";
gap(i-1);
}
}

void star(int i)
{
if(i>0)
{
cout << " *";
star(i-1);
}
}

   
   0 comments 
 


TESO Beta
posted 3/1/2014 3:47:09 PM

Launcher trying to download 22GB of data, I could finish it soon enough, but my internet has a cap.

   
   8 comments 
 


Waking Up In The Morning.
posted 9/12/2013 3:36:24 PM

Old, but good: Link

   
   0 comments 
 


Seems A Website I Go To Was Hacked.
posted 9/2/2013 4:47:48 AM

Related: Link
Fixed the link - https breaks links.

[Edited by moderator forty-two, 9/2/2013 8:52:17 AM]

   
   3 comments 
 


This is What I Ask in IT
posted 3/5/2013 2:23:10 AM

Fair warning: so far every person I've asked have spent 3-5 minutes thinking about this question before I snap them out of it.


While sitting they rest their chin on their right hand, their thumb, index finger and middle finger supporting their head as they think.

Around 2 minutes later they sit up for a moment, moving their hand in a way so they point up and begin to speak, suddenly freezing before muttering "no, wait" realising something they missed previously and returning to the previous position, in a trance, almost as if they had entered an infinite loop and need help getting out.

I first asked this question to my lecturer, and tutor two years ago, and several others, so far I have yet to get a clear answer.

The question is:

Spoiler:

In a flowchart, is clearing the screen a process, or an output?
   
   3 comments 
  Previous Page     Next Page
 
 VIEW MORE BLOG ENTRIES
2014
 JANUARY (0)
 FEBRUARY (0)
 MARCH (1)
 APRIL (1)
 SHOW OLDER BLOGS
2013
2012
2011
2010
2009
2008
2007
 
2223 users online.
2155 guests / 68 members.
 
       
 
Trainer Troubleshooting Guide        Cheat Terms and Tutorials        Anti-Virus Notifications        Site Help / FAQ        Submit Cheats        Our Friends and Affiliates        About Us
      Copyright © 2001 - 2014  webworks, LLC  All Rights Reserved    -   DISCLAIMER    -   PRIVACY POLICY    -   TERMS OF SERVICE