Recent content by yancee

  1. Y

    Fortran Storing Data in Fortran: Solving the File Replacement Problem

    Thank you. I am going try this because to try this later. I also have another question. What if I am going to ask the user to input username and pass code so that she can create a profile, and that username and pass code will be written in a DAT file. After that, I also want to the user to add...
  2. Y

    Fortran Storing Data in Fortran: Solving the File Replacement Problem

    I have tried it now but the data that I input was just written after the last line on my file. For example, in my DAT file, i have written Anna Abby Allan and if i try the readwrite action just like this Open (unit=13, file='data.dat', status='new',action='readwrite') Read(13,*) a,b,c...
  3. Y

    Fortran Storing Data in Fortran: Solving the File Replacement Problem

    Yes, I have read about open statements. I've tried this one Program database Character (len=30):: name Print*, 'Input name' Read*, name Open (unit=13, file='data.dat', status='new', action='write') Write(13,*) name Close (unit=13) End program As I run the program again, the...
  4. Y

    Fortran Storing Data in Fortran: Solving the File Replacement Problem

    I was making a database program in fortran. I was just adding profile such as name of the students and other information about him/her. Then the data that the user inputs will be saved in a DAT file. I want to add another data in the said DAT file wherein the first data that was been input by...
  5. Y

    Fortran Storing Data in Fortran: Solving the File Replacement Problem

    I was looking for a fortran code wherein the stored file in DAT file will be stored once I run the program again. My program is just replacing the saved file.
Back
Top