So I am trying to take my assignment and make it load an input file instead of having to input each value manually. How would I do that?
Also if my program took arguments (p1a, inputfile, outputfile) how would I link that too

Thanks

Q1: use normal FILE* i/o operations. See functions in stdio.h. You should be able to find tutorials.

Q2: see argc and argv arguments to main int main(int argc, char* argv[])

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.