Wow.. :rolleyes:
I got everything to run from the code I didn't paste here. Long day.. I never triggered EOF..
Also, sorry for the sloppy code haha I went back and declared main. Thanks,...
Type: Posts; User: yoda
Wow.. :rolleyes:
I got everything to run from the code I didn't paste here. Long day.. I never triggered EOF..
Also, sorry for the sloppy code haha I went back and declared main. Thanks,...
It's not showing the output on Fedora 18's terminal
#include <stdio.h>
main()
{
int c, n1;
n1 = 0;
while ((c = getchar()) != EOF)
if (c == '\n')
++n1;