|
From: Ioannis V. <iv...@at...> - 2003-04-25 20:33:24
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Christian Sch=E4fer > Sent: Friday, April 25, 2003 3:30 PM > To: dev...@li... > Subject: Re: [Dev-C++] stdin reset... >=20 >=20 > > -stdin gets cleared > > how can i do that? >=20 > fflush(stdin); >=20 > just found out how.. thanks anyway! Which is not safe. getchar(), fgets(), etc, should be used instead, Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |