🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages Started by bacon buttie Mon, 02 Apr 2001 06:06
liven things up.
#1322
Author: bacon buttie
Date: Mon, 02 Apr 2001 06:06
27 lines
1431 bytes
when you write code,  liven things up.  use interesting names


class THuman{
    int IQ;
    int SiseOfPrivates;
    int irrationality;   // out of 100
public:
    THuman(int iq, int privates, int pirrationality);
    void HaveSexWith(THuman *human);
    void ArgueWith(THuman *human);
}



THuman *woman,*man;

woman= new THuman( 60 , -4 , 97 );
man = new THuman(140, 4 , 12 );

man->HaveSexWith(woman);
woman->ArgueWith(man);




I know it's not funny.  i'm just bored.
Re: liven things up.
#1323
Author: bacon buttie
Date: Mon, 02 Apr 2001 06:11
37 lines
1694 bytes
actualy,  this made me think..


I wonder if it's only a matter of time before adding more and more methods
to this class makes it artificialy intelligent.

OOP is probably the perfect platform for AI,   if only someone figures out
how to do it.


(you can tell i'm bored!)


> class THuman{
>     int IQ;
>     int SiseOfPrivates;
>     int irrationality;   // out of 100
> public:
>     THuman(int iq, int privates, int pirrationality);
>     void HaveSexWith(THuman *human);
>     void ArgueWith(THuman *human);
> }
>
>
>
> THuman *woman,*man;
>
> woman= new THuman( 60 , -4 , 97 );
> man = new THuman(140, 4 , 12 );
>
> man->HaveSexWith(woman);
> woman->ArgueWith(man);
>
>
>
>
> I know it's not funny.  i'm just bored.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads