=??Q?ola=2CRe=3A_programa=E7=E3o_em_C?=
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 debian-user-portuguese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
|------------------------------------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
Reply to: