I'm trying to read in a bunch of strings from a dat file.
I read that you can scan in data from a file using scanf()
I have also read that you can read certain amount of characters by formating like follows.
I also have a section that states you can eleminate certain characters in the string using [^(character to be eleminated)]
so why does this not work?
which should store