OpenStudy (anonymous):

Help URGENT, working with I/O, need to read integers from one txt and writing to another txt using polynomial formula

OpenStudy (e.mccormick):

So using data from a text file, do some polynomial, and output an answer to another file?

OpenStudy (anonymous):

@e.mccormick yes, but i always getting error and can't scan data properly, because there additional instruction ordering to take numbers from each line separately

OpenStudy (e.mccormick):

OK, so you need to do a loop that reads in a line at a time from the file. http://www.cplusplus.com/reference/cstdio/fgets/