Could anyone please help me how to go one level up from the GetCurrentDirectory() path in C++?

  • Thread starter Thread starter bhavya internship
  • Start date Start date
B

bhavya internship

Guest
Hello All,

Using GetCurrentDiretcory() function, I am getting the current directory path like as shown below:

C:\PCPE\src\PCPEJob

My requirement is, from the GetCurrentDirectory() path I need to go one level up i.e., C:\PCPE\src

So that I can append new directory to this path.

Could anyone please help me how to go one level up from the GetCurrentDirectory() path?

Continue reading...
 
Back
Top