Please read tips for efficient and successful posting and posting code
ROOT Version: 6.10.06
Platform: Ubuntu 16.04
Compiler: gcc530
TString sample = "/Results/trial2.root";
std::cout << "sample is: " << typeid(sample).name() << '\n';
sample.Form("string");
std::cout << "sample is: " << typeid(sample).name() << '\n'
In the code above,
- Why does the type say 7TString not TString? what is 7TString?
- After Form function, it still stays as 7TString. How can I convert that into string?
Thank you.