How to store the user enter the data's into file

Discussion in 'C++' started by muthukkumaran, Feb 19, 2010.

  1. Hi to all,

    I had problem in storing the user details into file.I stored the user
    details into file.if i enter same data it will append again,But not
    replace same one.If i want to replace first row with same one.
    How to do it.

    I enter the data by the rows wise CameraNo IPADDRESS ID PWD
    192.168.124 root root
    2 root root

    for example

    If user enter another ipaddress with camerano 1 how to replace first
    rows with new data in the file using c program.

    muthukkumaran, Feb 19, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.