Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #121075

Re: printf() takes priority here!!!

From Ralf Fassel <ralfixx@gmx.de>
Newsgroups comp.lang.c++
Subject Re: printf() takes priority here!!!
Date 2024-11-29 10:54 +0100
Message-ID <ygaiks6e56k.fsf@akutech.de> (permalink)
References <vibkav$1m6ou$1@paganini.bofh.team> <vibst0$10dtc$1@dont-email.me>

Show all headers | View raw


* Ralf Goertz <me@myprovider.invalid>
| Am Fri, 29 Nov 2024 05:35:54 +0000
| schrieb Student Project <student@invalid.invalid>:
>
| > This is amazing. printf() takes priority in this simple program:
>
| This is simply due to the fact that cout has not yet been flushed. Use 
>
|           cout << "using cout here"<<endl;
>
| and it will be flushed before printf is called.

I'd guess this is what

  https://en.cppreference.com/w/cpp/io/ios_base/sync_with_stdio

is for...

R'

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

printf() takes priority here!!! Student Project <student@invalid.invalid> - 2024-11-29 05:35 +0000
  Re: printf() takes priority here!!! Ralf Goertz <me@myprovider.invalid> - 2024-11-29 09:10 +0100
    Re: printf() takes priority here!!! Ralf Fassel <ralfixx@gmx.de> - 2024-11-29 10:54 +0100
    Re: printf() takes priority here!!! Muttley@DastardlyHQ.org - 2024-11-29 10:13 +0000
      Re: printf() takes priority here!!! Bonita Montero <Bonita.Montero@gmail.com> - 2024-11-29 11:25 +0100
        Re: printf() takes priority here!!! Muttley@DastardlyHQ.org - 2024-11-29 10:29 +0000
          Re: printf() takes priority here!!! Bonita Montero <Bonita.Montero@gmail.com> - 2024-11-29 13:03 +0100
            Re: printf() takes priority here!!! Muttley@DastardlyHQ.org - 2024-11-29 12:04 +0000
              Re: printf() takes priority here!!! Bonita Montero <Bonita.Montero@gmail.com> - 2024-11-29 13:12 +0100
                Re: printf() takes priority here!!! Muttley@DastardlyHQ.org - 2024-11-29 12:48 +0000
                Re: printf() takes priority here!!! Bonita Montero <Bonita.Montero@gmail.com> - 2024-11-29 13:56 +0100
          Re: printf() takes priority here!!! James Kuyper <jameskuyper@alumni.caltech.edu> - 2024-11-29 19:11 -0500
            Re: printf() takes priority here!!! wij <wyniijj5@gmail.com> - 2024-11-30 09:12 +0800
            Re: printf() takes priority here!!! Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-11-29 18:41 -0800
              Re: printf() takes priority here!!! James Kuyper <jameskuyper@alumni.caltech.edu> - 2024-11-30 10:22 -0500
            Re: printf() takes priority here!!! Muttley@dastardlyhq.com - 2024-11-30 10:06 +0000

csiph-web