Arda Demir Arda Demir - 1 year ago 161
C++ Question

C++ remove quote from char type

Need test variable remove quotes. How to?

char test[] = "\"C:\\hello\"";

if(test[0] = '"')
// test variable 0 index to blank

Answer Source

Since you're on Windows, call the PathUnquoteSpaces function in the Windows API.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download