Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
i need a code that contain at least 4 class wrote in c++
Posted 7-Oct-12 11:37am
Edited 7-Oct-12 14:16pm
v2
Comments
Wes Aday at 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 at 7-Oct-12 20:15pm
   
+5, :-) :-) :-)
Espen Harlinn at 8-Oct-12 2:55am
   
Thank you pasztorpisti,it seemed somewhat appropriate :-D
pasztorpisti at 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 at 8-Oct-12 4:18am
   
:-D, :-D
Briti Sundar at 8-Oct-12 0:59am
   
:-D
Espen Harlinn at 8-Oct-12 2:55am
   
Thank you Briti :-D
Sergey Alexandrovich Kryukov at 19-Nov-12 18:45pm
   
Captain Obvious at work. 5, captain! :-)
--SA
Espen Harlinn at 19-Nov-12 18:47pm
   
:laugh: Yes it was kind of obvious ...
Sergey Alexandrovich Kryukov at 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
0 Gihan Liyanage 332
1 Sergey Alexandrovich Kryukov 325
2 OriginalGriff 313
3 ClimerChinna 222
4 Zoltán Zörgő 170
0 Sergey Alexandrovich Kryukov 8,243
1 OriginalGriff 7,109
2 CPallini 2,598
3 Richard MacCutchan 1,980
4 Abhinav S 1,778


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 7 Oct 2012
Copyright © CodeProject, 1999-2014
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