Dee 0 Denunciar post Postado Dezembro 12, 2009 getchar(); depois do scanf(); #include <stdio.h> main() { int i; char nha; for (i=0; i<5; i++) { printf("Digite aqui férah: "); scanf("%c", &nha); getchar(); } return 0; } Compartilhar este post Link para o post Compartilhar em outros sites
José Enésio 4 Denunciar post Postado Dezembro 12, 2009 getchar(); depois do scanf(); #include <stdio.h> main() { int i; char nha; for (i=0; i<5; i++) { printf("Digite aqui férah: "); scanf("%c", &nha); getchar(); } return 0; } Ou: scanf("%c%*c", &nha); Compartilhar este post Link para o post Compartilhar em outros sites
_Isis_ 202 Denunciar post Postado Dezembro 12, 2009 Eu realmente preciso repetir tópico? Procure por scanf avoid no Google. Compartilhar este post Link para o post Compartilhar em outros sites