www.delorie.com/djgpp/bugs/show.cgi | search |
// Strange bug in printf; Nothing is printed until the first newline char. #include <stdio.h> #include <conio.h> void main() { printf("Hello, "); // Nothing is printed. printf("world"); // Still nothing... putch('!'); // '!' on screen. puts(""); // "Hello, world" on screen. } // Overal: "!Hello, world" instead of "Hello, world!"
Still no bug, 2 minutes after you sent this the first time :-) (i.e.: see question 190 instead...)
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |