ok my project partner seems to be unix god, so he's asking me to write a parser for him.
One part of it, ineed to check a certain number of paths, for a file.
anyways, here is my idea, i havent tried it yet, as i am tryiing to install linux mandrake 7.2 on my other laptop. however for some reason X wont load, so i am even having problems with that.
FILE* myfile = NULL;
myfile = fopen("path1/thefileyouarelookingfor", "r")
if(myfile == NULL) check other paths
anyone think i'm right? i feel like such a dumbass , since he's like god coder and unix man, and like basically laid out the project and just gave me a parser to run, which is super easy. oh well, at least i didnt get stuck with a partner more clueless than i am at unix.
One part of it, ineed to check a certain number of paths, for a file.
anyways, here is my idea, i havent tried it yet, as i am tryiing to install linux mandrake 7.2 on my other laptop. however for some reason X wont load, so i am even having problems with that.
FILE* myfile = NULL;
myfile = fopen("path1/thefileyouarelookingfor", "r")
if(myfile == NULL) check other paths
anyone think i'm right? i feel like such a dumbass , since he's like god coder and unix man, and like basically laid out the project and just gave me a parser to run, which is super easy. oh well, at least i didnt get stuck with a partner more clueless than i am at unix.