|
From: <h.r...@gm...> - 2002-06-12 17:36:01
|
> Hi,
>
> Can anybody explain me why the following Code works:
>
> void ReadData(const char* s)
> {
> extern Prozessfaehigkeit pf;
>
> ifstream in(s);
> string line;
>
> getline(in, line);
> pf.MeanS = (atof(line.c_str()));
> [...]
>
> and
>
> void ReadData(const char* s)
> {
> extern Prozessfaehigkeit pf;
>
> ifstream in(s);
> string line;
>
> getline(in, line);
> pf.MeanS = atof(line.c_str());
> [...]
>
> works not ? Why is there a need for brackets ?
> Thanks in advance,
> Greetings
> Horst
sorry for my wrong subject in last posting
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|