View Single Post
Old 01-12-2015, 04:50 PM   #55393
Solitaire1
Samurai Lizard
Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.
 
Solitaire1's Avatar
 
Posts: 15,039
Karma: 70029956
Join Date: Nov 2009
Device: NookColor, Nook Glowlight 4
Quote:
Originally Posted by Solitaire1 View Post
I prefer this:

10 Print "This is the thread that doesn't end,"
20 Print "Yes, it goes on and on my friend,"
30 Print "Some people tried winning it not knowing what it was,"
40 Print "And they'll continue trying it forever just because"
50 Goto 10
Quote:
Originally Posted by PieMan597 View Post
Or:
Code:
#include <stdio.h>

void win(void);

void win(void){
  char winner[9]=PieMan597;
  printf("The winner is: %s\n", winner);
}

int main(int){
  while(0==0){
    win();
  }
  return 0;
}
Is that C? The only programming language I have some familiarity with is Basic (I wrote a massive database using it), but something seems to be missing with the above code although I could be wrong. The above doesn't equal my program (which is a Basic version of the original) but it seems to just say: "The winner is PieMan597."

This might be more accurate:

10 Print "PieMan597 is the winner."
20 Print "PieMan597 encountered someone with a fork."
30 Print "PieMan597 is an X-pie."
40 END
Solitaire1 is offline   Reply With Quote