Forum: C++
May 23rd, 2005, 9:41 AM
|
|
Replies: 8
Views: 415
|
Forum: C++
May 22nd, 2005, 2:37 PM
|
|
Replies: 8
Views: 415
Here's the whole code, if you need it...
Here's the whole code, if you need it :D
#include <list>
#include <fstream>
#include <iostream>
using namespace std;
class C {
public:
void friend add(list<C>);
void friend display(list<C>);
|
Forum: C++
May 21st, 2005, 4:20 PM
|
|
Replies: 8
Views: 415
Gah, I see your point. Kill cats. :)
Anyway, I...
Gah, I see your point. Kill cats. :)
Anyway, I forgot to add in the loop one element. ++it2 . That way the pointer will be incremented till it reaches the end value of the list of classes.
Only in...
|
Forum: C++
May 21st, 2005, 10:32 AM
|
|
Replies: 8
Views: 415
Thanks for the code, it works perfectly :)
But...
Thanks for the code, it works perfectly :)
But right now I have a new problem. It's connected to lists of classes & files.
What's the problem in this code? I can't get to store the information in...
|
Forum: C++
May 7th, 2005, 10:04 AM
|
|
Replies: 8
Views: 415
List of classes
Hello!
I have a question... I want to make a list of classes, but I have some doubts first.
1. How can I input new members in this list? I mean, if it is empty at first, how can I input new...
|