falta um ; depois da linha:
++nc
fica
++nc;
On Thu, 5 Jul 2001, Death Angel wrote:
> ola, agrade?o a aten??o em rela??o a msg anterior.
>
> como ja disse comecei a estudar linguagem C, e logo no come?o
> do livro encontrei um programa que naum funciona, o livro eh
> "C A linguagem de programa??o" de Brian W. Kernighan & Dennis M. Ritchie, se
> naum for um bom livro me avisem.
>
> o prama eh minusculo, como ja foi dito o erro foi no come?o do livro
> ele conta caracteres.
>
> /*aqui esta o fonte*/
>
> main ()
> {
> long nc;
>
> nc = 0;
> while (getchar () != EOF)
> ++ nc
> printf ("%|d\n", nc);
> }
>
> eh acho que receberei uma resposta logo, visto que o programa eh
> muito simples.
>
> muito obrigado pela ajuda.
>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
|------------------------------------w----------------------------------------|
# Mateus de Oliveira Caruccio | There are two major products that come #
# http://www.mateuscaruccio.com | out of Berkley: LSD and UNIX. We don't #
# Linux User #183552 - UIN #37364320 | don't believe this to be a coincidence #
|----w----|
"Faster than a bullet. Terrifying scream.
Enraged and full of anger. He's half man and half machine"
Painkiller, Judas Priest