C, escrever em ficheiros baixo nivel

The Dealer

Power Member
Código:
int fc;

fc = creat("teste3.txt", S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
write(fc, "hello world",50);

Porque é que faço gedit teste3.txt e o conteudo não me é visivel ? Como torná-lo visivel (Suponho que esteja em binário)
 
Back
Topo