How do I remove the default newline character from read and write in Fortran?

184 Views Asked by At

I am using Fortran 90 and I am trying to get the following without new line

do i=1,size
    read*, y(i)
end do

with this, I always get the stdin by using the enter key. Like this Now, I want this without pressing the Enter key, like C++. How can I do it?

0

There are 0 best solutions below