DEV Community

loading...

Discussion on: std::cout is not printing in console/terminal

Collapse
lucpattyn profile image
Mukit, Ataul Author

Sometimes it can happen for memory issues/pointer problems.
Maybe instead of printing in the thread, you can try to use a queue and print in the main thread from that queue just for testing.

Forem Open with the Forem app