const bool trigger_happy = true;
srand(time());
attitude* get_current(){ return current; }
attitude* goto_prev(){
return current = (attitude*)(item = item->get_prev())->get_data();
}
attitude* goto_next(){
return current = (attitude*)(item = item->get_next())->get_data();
}
if (*in_trig == ON)
if (!goto_next()) goto_head();
public:
attitude::attitude(bool something): traits(rand() & rand()), thething(0)
{
if(something) thething = new thing;
}
attitude::~attitude()
{
delete thething;
}
for(int i = 0; i < 10;) attitude[i++] = new attitude(trigger_happy);
run();
g++ thefile.cc -o theprogram
/theprogram
http://www.jwm-art.net/art/audio/trigger_happy2.3i.mp3
_______________________________________________
NetBehaviour mailing list
[email protected]
http://www.netbehaviour.org/mailman/listinfo/netbehaviour