am exploring c++. what i want is to declare the current directory of my project where the .exe located. How to do it like in c# Directory.GetCurrentDirectory +"\myfile\any.dll". Hope somebody would help me. Am searching here but too advanced for me and can't understand their way. Please see my sample code.
    #include<iostream.h>
    #include<stdlib.h>
    using namespace std;
    int main(int argc, char *argv[])
    {
    std::remove("C:\\myfile\\any.dll");
    }
What i want is like this:
    #include<iostream.h>
    #include<stdlib.h>
    using namespace std;
    int main(int argc, char *argv[])
    {
    std::remove(directory_of_my_project + "\\myfile\\any.dll");
    }
 
    