Hi. I am very happy to join this forum and hope that someone can help me with this little problem of mine:
I need to read a list of space-separated integers from a txt-file into my program(i.e. into an array defined by myself) for processing. Using fread() from the stdio library, I have tried doing this, but fread() seems to be able to handle char's only.
Is there something I have missed about an application of fread() for integers, or is there some other standard function or method that can help me?
Thanks in advance.