Hi Sina, On Wed, 12 Mar 2008, Sina Bahram wrote:
I believe that is implementation specific; hence, the EOF constant is available as a #define in most systems.
So on a linux box (debian) -1 sounds ok? What does -1 mean in C? false? if I write: int c =-1; if (!c) {...} Will ... get executed?Or is 0 false and all other negative numbers and positive numbers are true?
-- Daniel Dalton http://members.iinet.net.au/~ddalton/ d.dalton@xxxxxxxxxxxx __________View the list's information and change your settings at //www.freelists.org/list/programmingblind