DEV Community

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

Collapse
 
lucpattyn profile image
Mukit, Ataul

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.