Free2Code
 
Time: 2008-11-21, 06:12am
Plz hlp
Subject: Plz hlp  ·  Posted: 2007-10-10, 05:30am
Rank: ? (1)
Member #: 29667
Please help me with the following question

Create a class Sarray having an array of integers having 5 elements as datamember. Provide facility to sort the elements

 
  Reply to this ·  Post link ·  Top
Subject: Re: Plz hlp  ·  Posted: 2007-10-10, 07:24am
Rank: ? (767)
Member #: 11085
Code:
  1. class Sarray{
  2.     private:
  3.         //TODO: Add array of five integers
  4.     public:
  5.         //TODO: Add sorting function
  6. };


That is about as much as I am willing to "help" up until you show some initiative and ask a real question.

- relpats_eht
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons