How do you open a folder using c++ i can open an exe file using the following but i cant workout how to open a specific folder. i.e c:\
case 6:WinExec("control.exe date/time",SW_MAXIMIZE);
break;
How do you open a folder using c++ i can open an exe file using the following but i cant workout how to open a specific folder. i.e c:\
case 6:WinExec("control.exe date/time",SW_MAXIMIZE);
break;
To open "c:\", write it as "c:\\"
You need \\ in the source code to get a single \ in the program.
They are called escape sequence.
Here is a list of some of them:
\n New Line
\t Horizontal tab
\v Vertical tab
\b Backspace
\r Carriage return
\f Form feed
\a Allert
\\ Backslash
\\' Single quote
\" Double quote
\0 Null character
C++ Is Powerful
I use C++
There fore I am Powerful