how to print tchar in c++
<p>I am trying to print <code>UCHAR btMACAddress[INTEL_MAC_ADDR_LENGTH]</code> in c++.</p>

<pre><code>cout&lt;&lt;"adapter MAC address="&lt;&lt;padapter-&gt;btMACAddress&lt;&lt;endl;
</code></pre>

<p>IT SHOWING NULL IS ABOVE</p>

<p>In c i am able to print.</p>

<pre><code>printf("adapter macaddress  %02x:%02x:%02x:%02x:%02x:%02x \n",
       pAdapter-&gt;adapter[0].btMACAddress[0],
       pAdapter-&gt;adapter[0].btMACAddress[1],
       pAdapter-&gt;adapter[0].btMACAddress[2],
       pAdapter-&gt;adapter[0].btMACAddress[3],
       pAdapter-&gt;adapter[0].btMACAddress[4],
       pAdapter-&gt;adapter[0].btMACAddress[5]);
</code></pre>
