title: What is '\0' in C++?
body: <p>I'm trying to translate a huge project from C++ to Delphi and I'm finalizing the translation. One of the things I left is the '\0' monster.</p>
  
  <pre><code>if (*asmcmd=='\0' || *asmcmd==';')
  </code></pre>
  
  <p>where asmcmd is char*.</p>
  
  <p>I know that \0 marks the end of array type in C++, but I need to know it as a byte. Is it 0?</p>
  
  <p>In other words, would the code below be the equivalent of the C++ line?</p>
  
  <pre><code>if(asmcmd^=0) or (asmcmd^=';') then ...
  </code></pre>
  
  <p>where asmcmd is PAnsiChar.</p>
  
  <p>You need not know Delphi to answer my question, but tell me \0 as byte. That would work also. :)</p>