![]() |
| | #1 |
| Registered User Join Date: Aug 2005
Posts: 22
| GIRLS.CPP (funtime) Class girls class female_professionals { double style; short skirts; long time_to_understand_problems; float mind; void knowledge; char non_co-operative; } class married_females { double weight; short tempered; long gossip; float hopes; void talk; char unstable; } class engaged_females { double time_on_phone; short attention_on_work; long boast; float on_cloud_nine; void understanding; char edgy; } class newly_married_females { double dinner_invitation; short time_at_work; long lunch_break; void bank_balance; char hen_pecking; } class husband_wife_professionals { double income; short tempered; long time_to_see_each_other; void love_life; char money_making; } class beautiful_city_girl { double boyfriends; short affairs; long stories; void brains; char flirt; } |
| year2038bug is offline | |
| | #2 |
| Registered User Join Date: Dec 2005
Posts: 50
| Rofl |
| what3v3r is offline | |
| | #3 |
| ∞ Join Date: May 2005
Posts: 970
| That stuff belongs in a header file. dumbass.
__________________ argus triad mingus |
| BobMcGee123 is offline | |
| | #4 |
| mov.w #$1337,D0 Join Date: Nov 2001
Posts: 704
| Code: Class girls Code: class female_professionals
{
double style;
short skirts;
long time_to_understand_problems;
float mind;
void knowledge;
char non_co-operative;
}
__________________ c++->visualc++->directx->opengl->c++; (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.) |
| Jeremy G is offline | |
| | #5 | |
| Deprecated Join Date: Oct 2004 Location: Canada
Posts: 1,032
| Quote:
No semi-colon ending the classes. Bad indentation (that was a stretch).
__________________ Warning: Have doubt in anything I post. GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101 | |
| Dae is offline | |
| | #6 |
| 60% Braindead Join Date: Dec 2005
Posts: 379
| Code: Class girls {
public:
//Uhh... Missing code yes?
};
class female_professionals {
double style;
short skirts;
long time_to_understand_problems;
float mind;
void knowledge;
char non_co_operative;
}
class married_females {
double weight;
short tempered;
long gossip;
float hopes;
void talk;
char unstable;
}
class engaged_females {
double time_on_phone;
short attention_on_work;
long boast;
float on_cloud_nine;
void understanding;
char edgy;
}
class newly_married_females {
double dinner_invitation;
short time_at_work;
long lunch_break;
void bank_balance;
char hen_pecking;
}
class husband_wife_professionals {
double income;
short tempered;
l ong time_to_see_each_other;
void love_life;
char money_making;
}
class beautiful_city_gir l{
double boyfriends;
short affairs;
long stories;
void brains;
char flirt;
}
__________________ Code: Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *) |
| Blackroot is offline | |
| | #7 | |
| Deprecated Join Date: Oct 2004 Location: Canada
Posts: 1,032
| Quote:
Very funny. No wait, thats TBS.
__________________ Warning: Have doubt in anything I post. GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101 | |
| Dae is offline | |
| | #8 |
| Anti-Poster Join Date: Feb 2002
Posts: 1,241
| I like how everything is private. Apparently none of the above classes can talk to each other about anything. Unfortunately, the void datatype makes it difficult to actually compile.
__________________ Rule #1: Every rule has exceptions |
| pianorain is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|