title: Why do you prefer char* instead of string, in C++?
body: <p>I'm a C programmer trying to write c++ code. I heard <code>string</code> in C++ was better than <code>char*</code> in terms of security, performance, etc, however sometimes it seems that <code>char*</code> is a better choice. Someone suggested that programmers should not use <code>char*</code> in C++ because we could do all things that <code>char*</code> could do with string, and it's more secure and faster.</p>
  
  <p>Did you ever used <code>char*</code> in C++? What are the specific conditions?</p>