Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. samsami160

    changes in input files

    Hi mikrom my problem is different of what you answer,I have 2 files,input file have 10 numbers(one column)and output file have 10 numbers too. How can I to multiply elements in input and output files,this means that element in 2 row of input file be multiplied by element in 1 row of output...
  2. samsami160

    changes in input files

    Thanks a lot.I have another question about above code: How can I to multiply elements in input and output files,this means that element in 2 row of input file be multiplied by element in 1 row of output file,element in 4 row of input file be multiplied by element in 2 row of output file,element...
  3. samsami160

    changes in input files

    I appreciated you if you write this loop in code,I don't know what to write this loop to adding 5 zeros to end of output file. thanks
  4. samsami160

    changes in input files

    Thanks dear narlytep.I have one questions about above code: -number of data in above input file is 10,while number of data in above output file is 5,I want to produce 10-5=5 zeros (one-column)then add this column to output file.by doing this,size of input and output file will be same.
  5. samsami160

    changes in input files

    Thanks so much dear narlytep,my code works,if I want to delete numbers in 1,3,5,7,9,... rows) then export it to new file, how can I do to?
  6. samsami160

    changes in input files

    Thanks narlytep,I changed my code according what you said, but after executing code, a ERROR window appears , this window is: FORTRAN APPLICATION7.exe has stopped working. changed code is : PROGRAM a REAL::b open (2,file="INPUTS.txt",action="read",status="OLD") open...
  7. samsami160

    changes in input files

    I have a problem, I wrote a simple code that first imports a text file (text file includes one column of numbers) after reading text file, I want to delete numbers in 2,4,6,8,10,... rows) then export it to new file, my code is below: PROGRAM a REAL::b open...

Part and Inventory Search

Back
Top