GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Jun-2007, 02:44
him1979 him1979 is offline
New Member
 
Join Date: Jun 2007
Posts: 1
him1979 is on a distinguished road

Deleting an element from a dynamic array of students


If I have this classes:
  1. Class, describing student with: name, faculty number, date of birth (use the first class), average.
  2. Class, describing the students from a stream with:
    1. list of students (use the class from 3.)
    2. number of the stream
    3. specialty

How could I write a method for the second class that deleting a student(by fac. number or name..) from the stream. The array of students must be a dynamic.
  #2  
Old 05-Jun-2007, 06:57
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,309
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Deleting an element from a dynamic array of students


Quote:
Originally Posted by him1979
How could I write a method ...
1. I don't see anything in your problem statement that requires an array of any kind, so I don't see how anyone could answer your question.

2. Your partial listing of the problem statement refers to a "class from 3", but there is no "3" anywhere in your post, so I don't see where to go from here.

3. For best chances of meaningful help, I respectfully suggest that you show us the code that you have implemented so far, and ask specific questions about whatever it is that you don't understand or tell us what specific kind of help you would like. At least tell us how you are approaching the problem.

Regards,

Dave
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort an array of structures sassy99 C Programming Language 10 15-Feb-2007 07:46
5x5 Array Help? NONAME123123123 C Programming Language 4 12-Jan-2007 10:49
Need help deleting the last element in the array headphone69 C++ Forum 2 15-Mar-2006 19:31
I'm New - ARRAY question! NewBieFemAle Java Forum 3 07-Dec-2005 02:56
template comiling problems - need expert debugger! crq C++ Forum 1 01-Feb-2005 21:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 14:13.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.