|
From: Ioannis V. <no...@ho...> - 2002-06-13 00:34:18
|
As i see it, it should work. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of h.r...@gm... > Sent: Wednesday, June 12, 2002 8:36 PM > To: dev...@li... > Subject: [Dev-C++] necessary brackets ? > > > > 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 > > > _______________________________________________________________ > > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |