Click here to Skip to main content
12,950,399 members (62,538 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
i need a code that contain at least 4 class wrote in c++
Posted 7-Oct-12 11:37am
Updated 7-Oct-12 14:16pm
v2
Comments
Wes Aday 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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
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
Espen Harlinn 8-Oct-12 2:55am
   
Thank you Briti :-D
Sergey Alexandrovich Kryukov 19-Nov-12 18:45pm
   
Captain Obvious at work. 5, captain! :-)
--SA
Espen Harlinn 19-Nov-12 18:47pm
   
:laugh: Yes it was kind of obvious ...
Sergey Alexandrovich Kryukov 19-Nov-12 18:54pm
   
:-)

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 5,829
CHill60 3,460
Maciej Los 2,953
Jochen Arndt 1,975
ppolymorphe 1,820


Advertise | Privacy | Mobile
Web01 | 2.8.170525.1 | Last Updated 7 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100