I'd like to set up some macros that will do the following:
scan 2 different directories (scanning each differently):
1. the local directory where main is for "wgnuplot.exe"
and
2. the /bin or /usr/share or /usr/bin directory for "gnuplot" (i'm on a windows computer right now, I'm not sure where its located)
Once I've used the above test to basically define the type of OS, I can run my other macros containing different system() calls to wgnuplot.exe or gnuplot respectively.
I know, I know, trying to figure out what OS is being used is pointless, but this program will only be ran right after either I compile it or my teacher compiles it. This isn't going out to the masses or anything.