I've got a program that accepts a text file with a map on it, then finds the shortest path and outputs that to another file.
it needs to work like this
./pathFinder -arg < inputMap.txt > outputMap.txt
My question is, with this input, what would get filled into argv[] and argc (do the redirects count as arguments), and also should I use file streams or just cin/cout... or maybe something else. Thanks.
cinandcoutare a "file streams".