ROOT Version: 6 Platform: Windows Compiler: command prompt
sorry. Because English is inconvenient and Google Translated it into English, there may be some parts that do not make sense.
The image source code works for version 5 root but not for version 6 root.
Have you changed the settings such as not being able to use cout since version 6?
There is nothing in ROOT 6 that would prevent cout from being used. I think the problem in this function is a missing return statement. The function signature would need to change into void kaida21(void) or you’d need to return an integer in the body of the function.
Thank you for your reply!
I tried again with return, but only “pi:” is displayed on the screen and the calculation result of the essential pi is not displayed. And I’m sorry many times.
Can you copy and paste your source code here?
A screen dump is not really helpful.
What looks suspicious to me is the string “pi:”. Can it be that you really use “” characters (Unicode left and right double quotation marks) instead of "" characters (standard ASCII double quotation marks)?
Thank you very much.
As a result of investigating, I found that there are some reports that version 6 malfunctions on Windows. So I tried installing version 5 and it was solved. Thank you for taking the time to respond.