I have looked on this forum for troubles in the past and always found help but I now have a problem I can't seem to figure out.
my mission is to import data from a text file that holds lines of information sorted as such.
book title(with spaces), Authors name(with spaces if there are more than 1 author they are seperated by comma), publishing year, available or checked out
I need to import this information into a struct in order to search through the information by title of book name of author etc etc.
this is the section of code I tried to use to import the data but it is not giving me good results. Sorry about the image I dont know how to post exact code (first time to post anything)
any help or direction would be greatly appreciated.