title: how to print data inside a char pointer (c++)?
body: <p>I have a </p>
  
  <pre><code>function(const char * data)
  {
  //how to print the data which is inside the data
  }
  </code></pre>
  
  <p>when I debug I see only the address. If I print (*data) nothing is printed.</p>
  
  <p>Any idea?</p>