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

M

muthukkumaran

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
1
192.168.124 root root
2
192.168.1.123 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.

Regards,
Muthu
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top