[Dev-C++] rookie question... Getting the current directory
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Danny R. <dro...@ho...> - 2002-12-26 01:36:40
|
Hi,
Just started today picking my programming hobby after 10 years when i =
used an amiga and a whole different programming
enviroment, i feel like a rookie again in the world of programming with =
c++ with dev4 & windows.....
Can someone tell me how to get the current directory, i think it would =
be something like this:
string test;
void main(void)
{
test =3D GetCurrentDir();
return 0;
}
But ofcourse, this doesnt work.... someone.. enlighten me..
i tryed all kinds of material but couldn't find something that worked =
with dev4 and i dont know where i have to find the problem.
thanks for your help
Danny.
|