Incorrect assign symbol to char or string
<pre><code>A="D:\Kursa4\a1\a1\test1.txt";
B="D:\Kursa4\a1\a1\test1.txt";
</code></pre>

<pre>
+       A   "D:Kursa411 est1.txt"   std::basic_string,std::allocator >

+       B   0x0046cd0c "D:Kursa411  est1.txt"   char *
</pre>

<p>'\' symbol uncorected when I assign it to char or string. I need to replace '\' to '/' - but when I write '\' - indicates text below</p>

<p>I'm read name of file in this format. And want to replace \ to /</p>

<pre><code>ZeroMemory(&amp;of, sizeof(OPENFILENAME));
    of.lStructSize = sizeof( OPENFILENAME );
    of.Flags = OFN_FILEMUSTEXIST| OFN_EXPLORER | OFN_ENABLESIZING; 
    of.lCustData = (DWORD) NULL;
    //of.hwndOwner = hWnd; 
    of.lpstrFilter = L"*.*";
    of.lpstrFile = (LPWSTR)fsFile;
    of.nMaxFile = sizeof(fsFile);
    of.nFilterIndex = 1;
    of.lpstrFileTitle = NULL;
    of.nMaxFileTitle = 0;
    if(GetOpenFileName(&amp;of) == TRUE)
    {
    //IDC_EDIT1
    //HWND hwndEdit1 = GetDlgItem(hWnd,IDC_RADIO1);
    SetWindowText(hwndEdit1, (LPCWSTR)fsFile);
    }
</code></pre>

<p><strong>I want make "D:\Kursa4\a1\a1\test1.txt" from "D:/Kursa4/a1/a1/test.txt"</strong></p>

<pre><code>char B = "D:/Kursa4/a1/a1/test.txt";
</code></pre>

<p>Home make ?</p>

<pre><code> char B = "D:\Kursa4\a1\a1\test1.txt";
</code></pre>
