title: How to add c++ code in Wordpress.com post
body: <p>I am trying to add some c++ code in WordPress post, but some character become &amp;lt/&amp;amp/&amp;gt.</p>
  
  <p>How can I solve this problem?</p>
  
  <p>I tried the following:</p>
  
  <pre><code>[sourcecode language="cpp" title="Code:"]
  void build_LCP_array(void)
  {
      LCP[0] = 0;
      int n = text.size(), i, j, id1, id2;
      for(i = 1; i &lt; n; i++)
      {
          id1 = arr[i - 1].indx;
          id2 = arr[i].indx;
          LCP[i] = 0;
          for(j = step - 1; j &gt;= 0; j--)
              if(Rank[j][id1] == Rank[j][id2] &amp;&amp; Rank[j][id2])
              {
                  LCP[i] += (1 &lt;&lt; j);
                  id1 += (1 &lt;&lt; j);
                  id2 += (1 &lt;&lt; j);
              }
      }
  }
  [/sourcecode]
  </code></pre>
  
  <p>And Result:</p>
  
  <pre><code>void build_LCP_array(void)
  {
      LCP[0] = 0;
      int n = text.size(), i, j, id1, id2;
      for(i = 1; i &amp;lt; n; i++)
      {
          id1 = arr[i - 1].indx;
          id2 = arr[i].indx;
          LCP[i] = 0;
          for(j = step - 1; j &amp;gt;= 0; j--)
              if(Rank[j][id1] == Rank[j][id2] &amp;amp;&amp;amp; Rank[j][id2])
              {
                  LCP[i] += (1 &amp;lt;&amp;lt; j);
                  id1 += (1 &amp;lt;&amp;lt; j);
                  id2 += (1 &amp;lt;&amp;lt; j);
              }
      }
  }
  </code></pre>