-
I/O and Classes
hey
im doin this program..
i can load data.. from a text file and output..
say ive got this..
J1744 6
99123456 23
99110011 43
98000111 89
98123456 55
99112233 34
98000112 12
J1730 8
99123457 56
99110011 65
98000112 77
99776655 68
98767899 90
98000110 78
99765444 22
99888888 50
how do i extract the code.. and assign it to an object class..
some hint.. or good tutorials.. or examples.. will be much appreciated..
thanx
-
-
thnx.. but it doesnt have anything on array of classes
-
well do you know how to make, say an array of int's? an array of classes is the same thing, just replace int with the class name.
-
For example if you have a class called myClass, you can write this:
myCLass x[5];
But I don't know why do you need to use an array of classes(objects)...