Hi all,
I am very new to C and am working through the book (The C Programming Language).
This program does not displaying the character count when I enter text. Can anybody tell me if I am missing something, this is straight from the text on page 20 (I'm sure lots of people will have or have read this book).
Cheers,Code:#include <stdio.h> main() { double nc; for (nc = 0; gechar() != EOF; ++nc) ; printf("%.0f\n", nc); }
O