I was just wondering if anyone can explain to me why this piece of simple code isn't working.Code:#include <stdio.h> main() { long nc; nc = 0; while (getchar() != EOF) ++nc; printf("%1d\n", nc); }
Im using GNU/GCC compiler(although i don't think it has anything to do with it...).
Thanks,Filster7.