Hi all
Sorry if this is such a simple question, but I looked in the website and
didn't see it.
I'm using root 3.03.05 in Red Hat linux.
With the following script:
{
char* name = "name";
string filename1 = name;
const char* name1 = filename1.append(";1").c_str();
}
I get:
root [0]
Processing str.C...
Error: Assignment to filename1 type incompatible FILE:str.C LINE:4
*** Interpreter error recovered ***
root [1]
What kind of string does ROOT think it is? how do I tell it it is the
standard C++ string? Is it something else?
Javier
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET