jeudi 26 septembre 2019

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

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?

Aucun commentaire:

Enregistrer un commentaire