|
From: <h.r...@gm...> - 2002-06-12 17:12:20
|
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
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|