Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about clog

Read more about clog

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - clog

would clog and cout in c++ behave differently in outputing the value?

I am expecting a similar behavior for Cout and Clog since both are buffered outputs. But when i am trying, it comes out different. COUT: int main() { cout<<"Hello World" ; whil...
test-img

Sudhakar Palanisamy

c++

iostream

cout

clog

Votes: 0

Answers: 1

Latest Answer

First of all, I don't understand the purpose of the infinite loop. If you are trying to put the thread to sleep check this post StackOverflow post about thread sleeping in cpp, Secondly, if you want ...
test-img

Alex D

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved