Ok, here is the first of many questions that I will be asking on my epic quest to pot a program that will be revealed when it is nearly done (or at least capable of having a screen shot taken of it. If I port it completely, then at least the 720 owners, if not all ppc owners are in for a real treat.
Ok, Here are the first two functions I am haveing porblems finding in the hpc2000 sdk
1. access(const char *, int); //Located in IO.h
2. _findfirst(const char *, struct _finddata_t *); //Located in IO.h
The code where these two functions are used will follow, but here is what I already know about them. (1 refers to access, and 2 reffers to _findfirst)
1. Checks to see if you have some type of permission to access a file. In my case, checks for read permision.
//Code
miscvar=access(filename,4); //Checks to see if you can read the file
2. (Not sure about this one). Searches for all files that have "const char *", and stores results at "struct _finddata_t *" ???
//Code
if((miscvar=_findfirst("*.*",&miscvar2))!=-1) //Looks for all files???
If you could please help me emulate or get a good substitution for these files I would greately appriciate it. Thanks.
Ok, Here are the first two functions I am haveing porblems finding in the hpc2000 sdk
1. access(const char *, int); //Located in IO.h
2. _findfirst(const char *, struct _finddata_t *); //Located in IO.h
The code where these two functions are used will follow, but here is what I already know about them. (1 refers to access, and 2 reffers to _findfirst)
1. Checks to see if you have some type of permission to access a file. In my case, checks for read permision.
//Code
miscvar=access(filename,4); //Checks to see if you can read the file
2. (Not sure about this one). Searches for all files that have "const char *", and stores results at "struct _finddata_t *" ???
//Code
if((miscvar=_findfirst("*.*",&miscvar2))!=-1) //Looks for all files???
If you could please help me emulate or get a good substitution for these files I would greately appriciate it. Thanks.