• Forum
  • Lounge
  • Forum game: Never ending program (for ge

 
Forum game: Never ending program (for geeks)

Pages: 123
Hello, as we all know, in most forums there is the never ending story game where every user enter a sentence and another user completes it with another sentence making a silly never ending story similar as this :
http://ouyaboards.com/lounge/374-forum-game-neverending-story.html
but since programmers are 'geeks' and different from other humans, they have a never ending program xD.
every one should only write one syntax , can be more if he is using curly brackets or when using control structures.
I will start.

 
#include <geeksstream> 


full code so far(only written in this post)

1
2
3
4
#include <geeksstream>
using geek::println;
int main()
{
Last edited on
closed account (Dy7SLyTq)
using geek::println;
Last edited on
1
2
int main()
{
closed account (Dy7SLyTq)
println "Hello, geeks!" & end;
char geek_gender; geek::scanout geek_gender;
closed account (Dy7SLyTq)
wait does the program have to make sense?
nope
see how is there story in the lounge
http://ouyaboards.com/lounge/374-forum-game-neverending-story.html
it makes no sense, and it is unimaginable.
1
2
3
if(geek_gender == 'g') {
  cout << "Geek alert!" << endl;
}
Last edited on
closed account (Dy7SLyTq)
1
2
3
4
5
6
LOLCodeCall("HAI 1.3
             CAN HAS STDIO?
             I HAS A vAR
             VISIBLE \"GIMME! \"
             GIMME VAR
             KTHXBYE");
Last edited on
closed account (N36fSL3A)
How is a string on multiple lines?
closed account (Dy7SLyTq)
its allowed.
int number_of_posts; geek::scanout number_of_posts;
1
2
3
4
if(number_of_posts < 50)
     geek::println("Go away noob @%##~^##");      //only kidding seems groupof8 took it quite seriously
else if(number_of_post > 5k)
    geek::println("Hell0 1337 geek");
Last edited on
1
2
3
4
if(forumname == 'amhndu')
       amhndu.leave();
else
       geek::cout<<"Hello guys!";
1
2
string shape_of_body;
geek::getline(printin,shap_of_body);

Last edited on
1
2
3
4
5
6
switch(shape_of_body)
{
     case "slim":
     case "thin":
        printin("stop lying you fat geek who always stares that black screen and eats like a monster");//many possible exceptions like me :)
 
closed account (EwCjE3v7)
Are we allowed to write any code.?
1
2
geek *spoilsport = NULL;
std::cout << "I am a " << *spoilsport << std::endl;
Even better
1
2
//return 1;
//uncomment the above to see magic. 
We don't need the forum database filling up with nonsense.
Pages: 123