Hi,


I am trying to print some progress of a for loop in C api which will print the 
output in scilab console using the sciprint.



Is there anyway to print the output to a same line as normal C printf could be 
achieved using '\r' ? 



e.g.:



currently my out out showing:



Train Epoch: 10 [ 1000/15416] Loss: 0.5961 

Train Epoch: 10 [ 2000/15416] Loss: 0.6794

Train Epoch: 10 [ 3000/15416] Loss: 0.3965

Train Epoch: 10 [ 4000/15416] Loss: 0.8110

Train Epoch: 10 [ 5000/15416] Loss: 0.7892



I would like to have the output to show on the same line. 



I tried \r with fflush(stdout) it seems not working.



Thanks.



rgds,

Chin Luh
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to