DEV Community

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

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.