concatenate char * to string
<p>I have a function which is expecting a string, I was wanting to concatenate const char * to a string to be returned.</p>

<p>Here is example code to help illustrate this scenario:</p>

<pre><code>void TMain::SomeMethod(std::vector&lt;std::string&gt;* p)
{
  p-&gt;push_back(TAnotherClass::Cchar1 + "/" + TAnotherClass::Cchar2);
}
</code></pre>

<p>and here is the other class these are from:</p>

<pre><code>class TAnotherClass
{
 public:
   static const char * Cchar1;
   static const char * Cchar2;
};

const char * TAnotherClass::Cchar1 = "Home";
const char * TAnotherClass::Cchar2 = "user";
</code></pre>

<p>im getting the following error:
invalid operands of types 'const char*' and 'const char*' to binary operator +</p>

<p>Why is this not valid? please help</p>
