Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (8 votes)
See more:
i need a code that contain at least 4 class wrote in c++
Posted
Updated 7-Oct-12 14:16pm
v2
Comments
[no name] 7-Oct-12 18:03pm    
This is not a question. There is no problem stated. No code posted that demonstrates any kind of a problem. You should at least make an attempt to do your own homework before asking someone else to do it for you.

1 solution

Well, here goes:
class A
{};
class B
{};
class C
{};
class D
{};

That's 4 classes, and surprisingly enough they are pretty uninteresting ...

If you would put a bit more effort into your question, I'm fairly certain that the answer would be a bit more interesting too.

Best regards
Espen Harlinn
 
Share this answer
 
Comments
pasztorpisti 7-Oct-12 20:15pm    
+5, :-) :-) :-)
Espen Harlinn 8-Oct-12 2:55am    
Thank you pasztorpisti,it seemed somewhat appropriate :-D
pasztorpisti 8-Oct-12 4:17am    
I always say that the shorter is the best in case of tutorials. Your example meets every requirements of the OP.
Espen Harlinn 8-Oct-12 4:18am    
:-D, :-D
Briti Sundar 8-Oct-12 0:59am    
:-D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900