i wrote a password program and at one point i compare a user prompted password to a password in a file to see if they match. every thing works but the "prompted password" keeps getting an extra double quote at the end of the array. i use dev++. i have posted the code below. any suggestions?
I am having a similar problem with my post "unexpected results using file io"
it has not been answered yet.. the first program i made stored the contents of the file into a char array, but i didn't like using so much memory so i tried to make it store a single character at a time to output it, but it adds the last character of the file to the first line of output, and every line that it types after that is just the last character.
so i am not the only one then, good i guess. did u try my program? is it any good? i added a couple system("cls") to make it display better but thats all i changed.
no, i haven't tried it, i'm making a program to simulate keyboard presses, the version i have uploaded to mediafire works, but the current version is using dynamic memory allocation now, and i'm getting some errors....