Forum: C++ Nov 16th, 2004 |
| Replies: 9 Views: 23,639 Sorry i didnt post that i solved the problem.
Let me know what you think ...
in the header i have:
Ballot *b;
Ballot *bptr; |
Forum: C++ Nov 8th, 2004 |
| Replies: 9 Views: 23,639 When i dynamically assign the size of the array of Ballot Objects in my 1st allocation:
Ballot *b = new Ballot[ballot_size];
all seems well until i call the Votes::AddVote(Candidate c, Mark m,... |
Forum: C++ Nov 8th, 2004 |
| Replies: 9 Views: 23,639 i belive it is going to be dynamically allocating memory for the new array size, and deleting the dynamically allocated memory. but i am just not versed much on doing such things. |
Forum: C++ Nov 8th, 2004 |
| Replies: 9 Views: 23,639 I have a assignment that we are to write two clases (Ballot, Votes). We are to use an array of Ballot type to hold information for each particular Ballot. The Votes class is used to mark the... |