Login   Sign Up 



 

Real Life for C++ Programmers

by radavies1uk 

Posted: 19 March 2006
Word Count: 48
Summary: I don't know if this is a valid poem form or not, but I was playing about a few years back and had this. Any opions on this? It kind of links with discussion on the Select * FROM piece.
Related Works: SELECT Star FROM Me.Heart • 

Font Size
 


Printable Version
Print Double spaced


#include <RL4CPPP.h>

LOC PullAtBar(LOC Bar, HUMAN Self)
{
  int X = MAX_NUM_SENTENCES;
  int Y = UGLY_POINTS;

  while(Self.Lonely)
  {
    printf("I need someone...");
    if(Person.Approaches)
    {
      do
      {
        BuyDrink(Person);
        BuyDrink(Self);

        CurrentSubject = random(X)
        printf("%s",Sentences[CurrentSubject]);

        while(Person.Happy && Sentences[CurrentSubject])
        {
          printf("%s",Sentences[CurrentSubject++]);
          scanf("%s", &Person.CurrentSentence);
          AnalyseAttitude(Person);
          Self.Lonely --;
          Y--;
        }
 
        AnalyseAttitude(Self);
        Self.Pissed++;
        Person.Pissed++;

        if(Y > 0)
          Self.Pulled = false;
        else
          Self.Pulled = true;

      } while(Self.Respect && !Self.Pulled);   
    }
    else
    {
      Self.Lonely++;
    }
    
    if(Self.Money <= 0)
    {
      if(Self.Pulled)
        return Person.Home;
      else
        return Self.Home;  
    }
  }
}






Favourite this work Favourite This Author


Comments by other Members



joanie at 16:39 on 19 March 2006  Report this post
I am totally out of my depth here but I love the idea behind this.

I can't comment except to say I am in awe! I wish I could understand it!

joanie

DJC at 17:41 on 19 March 2006  Report this post
Yes, I'd agree - I like this a lot. It's quite irreverant and I do feel paints an interesting picture of the sort of sad men who spend their lives in these programmes yet cannot get a real life. I think you may be on to something here! I wonder if you could find a home for this. Perhaps someone like Sean in the poetry seminar might know. WW mail him and ask his advice.

D.

radavies1uk at 18:20 on 19 March 2006  Report this post
Hey Joanie :) Hey Darren :)

I figured it's so pointlessly obscure and needlessly comlex that it'd never have a market. I Might have to look into it.

Thanks Muchly :)
Bob


To post comments you need to become a member. If you are already a member, please log in .