lundi 25 décembre 2017

test C program with some inputs

I wrote a program in c and I want to try it with some inputs. The inputs are not numbers so I cant use a for loop or something like this in the code. So I want to write a file with inputs and give it to the program so it will take every time (it waits to input) 1 line from the text file or something like this, is it possible?

Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire