Originally posted by: Cerebus451
I don't think there is a standard C function for either. For UNIX, there is getcwd to get the current directory, not sure about the running app (though argv provides that). The Windows API has functions for both, but don't know their names off the top of my head.
Originally posted by: Armitage
Originally posted by: Cerebus451
I don't think there is a standard C function for either. For UNIX, there is getcwd to get the current directory, not sure about the running app (though argv provides that). The Windows API has functions for both, but don't know their names off the top of my head.
Doh ... I'm really brainlocked today. Gotta lay off those paint chips & dip.
Thanks
Originally posted by: kamper
Originally posted by: Armitage
Originally posted by: Cerebus451
I don't think there is a standard C function for either. For UNIX, there is getcwd to get the current directory, not sure about the running app (though argv provides that). The Windows API has functions for both, but don't know their names off the top of my head.
Doh ... I'm really brainlocked today. Gotta lay off those paint chips & dip.
Thanks
No kidding 😛 even I (the java developper) was going to answer that one. 😉
And guys suggesting windows stuff, I don't think he's programming with a microsoft api (just a hunch) 🙂
Alright, maybe I didn't need to say that. I just figured that what you were suggesting probably wasn't applicable to him. Sharing knowledge is, of course, always a good thing.Originally posted by: EagleKeeper
There are probably 15-20 OS out there that will run C code.
Let the information flow freely from that block upstairs.
Originally posted by: EagleKeeper
Originally posted by: kamper
Originally posted by: Armitage
Originally posted by: Cerebus451
I don't think there is a standard C function for either. For UNIX, there is getcwd to get the current directory, not sure about the running app (though argv provides that). The Windows API has functions for both, but don't know their names off the top of my head.
Doh ... I'm really brainlocked today. Gotta lay off those paint chips & dip.
Thanks
No kidding 😛 even I (the java developper) was going to answer that one. 😉
And guys suggesting windows stuff, I don't think he's programming with a microsoft api (just a hunch) 🙂
There are probably 15-20 OS out there that will run C code.
Let the information flow freely from that block upstairs.