Hello Tim.
29 Dec 97 16:16, Tim Hutzler wrote to Bogdan Sheptunov:
BS>> I need implement method which should read a string from configuratio
BS>> and return a part og this string, such as:
BS>> "Server port number: 101"
BS>> method should return "101".
TH> Did you get a solution yet?
Yeh. An ugly one :(. I use internal field to store these lines. I mean
class IniFile
{
....
private:
...
char _buffer[BUFFER_MAX_LENGTH]
...
}
Another way may be to use reference to the external buffer as the methods
parameter but I prefered the case described above
Bogdan
--- Внутриматочная спираль диаметром 2.50+ метра
---------------
* Origin: Crematory (2:463/285.82)
|