Ohh,, Kurt..
> KK: ML> for (c = 1; c < 100; c++)
> KK: ML> cin >> K[c];
> KK: ML> What happens is that you seemingly can't carry the double
> KK: ML> dimension into the function!
> KK: for (c = 1; c < 100; c++)
> KK: cin >> char*(K[c]);
> KK: Sure you can. It works even better if you declare your array
> KK: as a type char**, though. This is another reason why the use
> KK: of a class is so helpful. All the code for manipulating the
> KK: array data can be in the class itself. Variable length
> KK: strings and such are no problem when the code for their
> KK: handling is included automatically when they are created.
I'm beginning to understand that... :)
> KK: Most compilers include a string class, and you may also
> KK: develop your own, to handle specific needs.
See previous comments to your other post.. :)
> KK: > ] KK: > You cannot enter the Underground without a Tolkien..........
Or at least a ring...:)
Maybe it's just that I'm 58 and have a longer memory than some..
Mike @ 117/3001
--- Opus-CBCS 1.73a
---------------
* Origin: Ziplog Public Port (1:117/3001.0)
|