I'm working on a code with the goal of reading a file that has list of random number combinations and random character combinations separated by a space.
eg
0016718719 #:@-;QZL=!9v
0140100781 &:`ziuiCM+UC
...and so on
I would like to read them into a binary search tree using the number as a key and the character combination as a linked piece of data. The number would represent something like an employee ID number and the character combination a password. I want to use an integer to store the numbers and a pointer to a string to store the characters in a while loop to transfer them into the tree.
I have been trying to figure out the fscanf tool on a small scale program so far. The output of the program is the error accessing file message.
Any help is very much appreciated. I cannot figure out why the file won't open.