On Thu, 16 Mar 2023 at 17:45, oszibarack korte via Gcc <gcc@gcc.gnu.org> wrote: > > *An unsolved problem for more than a decade!* > *Dear GNU Compiler Collection development team!* > > *There is a problem with the gcc and g++ compilers for Linux operating > systems!* > *Here are 3 pieces of C and 3 pieces of C++ source code.* > > > > > > *- Please compile them on any LINUX!- Run it!- Compare the output with the > corresponding source code!Summary: THE OUTPUTS ARE BAD !!!*
No, your programs are bad. You need to flush the output if you want it to appear right away. When writing to standard output, a new line will cause that to happen.