I want to concatenate two string and I did in my program like String Filename = name+ "" + extension
where extension is an integer value that I read just above this line and name is the path that is already defined.
But in ROOT I am getting error like Error: + illegal operator for pointer 1
What went wrong here? Is there any other method?
If
extension
is an integer, then convert it to a string first.+""+
does nothing, btw