On Fri, Jan 06, 2012 at 01:48:46PM -0200, rollingbits (a.k.a. Lucas) wrote:
> > #include <stdio.h>
> > char device[10] = '/dev/null'
> > void main(void) { printf("flamers > %s",device); exit 0; }
>
> Não funciona: erro na linha 2.Também tem que incluir stdlib.h se for usar exit() e mudar o tipo de retorno da função main para int se for retornar alguma coisa. Não percebí a tempo. Também: porque não simplificar o printf, sumindo com o device[]? -- rollingbits -- [email protected], [email protected] [email protected], [email protected], [email protected] Get my public GPG key in http://rollingbits.tripod.com/mykey.html
pgp2A8jGedeuG.pgp
Description: PGP signature
------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

