How can I keep command propmt stay there on the screen

How can I keep command propmt stay there on the screen

Imagen de Rasoul K.

With my present experience, when results of a code are written into command prompt screen (using write (*,*) form

It disappears right after last result.

In order to keep them there, I put following command at the end

Read(*,*) which means the code expecting for an input from command line therefore command prompt screen stays there.

This is not a wise method. What is the best way to handle this issue?

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Steve Lionel (Intel)

That's the simplest method. You are seeing the normal behavior of a console application in Windows that is not run itself from a console window.

Steve

Inicie sesión para dejar un comentario.