title: How to store " (double quote) char in a variable?
body: <p>I'm coding a c++ program but i have a problem in storing <code>"</code> char in a variable and after searching a solution in the web i discovred a way but whenever i compile it i get [Warning] \040 ..that's the arrays of chars i want to store :</p>
  
  <pre><code>reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
  </code></pre>
  
  <p>me i did this :</p>
  
  <pre><code>const char com1[]="reg add \"\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\"\\ /v fDenyTSConnections /t REG_DWORD /d 0 /f";
  </code></pre>
  
  <p>the problem is that i get following output which puts a backslash after the ending " ..</p>
  
  <pre><code>reg add "\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server"\ /v fDenyTSConnections /t REG_DWORD /d 0 /f
  </code></pre>
  
  <p>so can tell me pliz what to do ??</p>