Again I agree, unfortunately Kernihan & Ritchie did not include it in their design and it has not been adopted by the ANSI standard so it is compiler dependent and not portable.
Having said that it seems that there are plenty of non standard compilers out there these days, so the thought of portability seems to have disappeared to some extent. Which is amusing as it was one of the primary considerations in the development of 'C'.
|