I'm currently working on a ATM program wherein a 3.5 floopy diskette would serves as the card of the user. this diskette has a program wherein it has a account number and a password.

And when the user inserted a diskette, he will be instructed to input his password and when the password is the same,a menu will appear and choose what kind of transaction he would like to do.
my problem in my program is this::

I don't know how to compare the password inputted by the user whether it tallies with the password of inserted diskette. I think that i need to use a file pointer but i don't know how! i just know how to read and write using the file pointer. can anyone help me?!!!

Recommended Answers

All 3 Replies

Post the code you've begun to develop, and please use code tags.

By posting your starting attempt, at least we can know whether you are using C or C++ since you didn't mention it.

well i'm using C in this program.

well i'm using C in this program.

Saying that won't help unless you show what you have tried till now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.