Serial Print problem

Hi Jan,
STD::cout Can’t see variables
Everything was fine after that , There was a situation where I had to uninstall and reinstall the operating system.
But I didn’t change anything.

I just felt that there is something strange on the screen where I selected the serial port of the teraterm.

This is what it looks like when I connect it;
3

This is how it shows the port when the NUCLEO is not connected;
ss_nuc_port

Seems like this is causing a problem with the port is it seeing something else when the port is idle?

We don’t need to take a library review, I observe the same thing in the code in the screenshot I took.