Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

How to make the console output lines scrolling

$
0
0

I have a console application that does nothing but math operations.
To inform the user about the progress,  it prints messages to the screen like:
Step 1 completed…
Step 2 completed… etc
aso…

Instead I want the program to reprint or scroll on a single line by omitting the line feed.
In former days this could be  easily arranged with the statements:

WRITE(IDO,911)N
911     FORMAT('+'T5,'Step',I3,' Completed…')

But with IVF this does not work…. 
Do anybody have a clue how  a “scroll” function could be arranged?

 


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>