Does anybody know why seemingly simple code (included in Test.C) gives me this output:
[code]root  .L Test.C
root  TestRead()
Is it right? [Y/n]:n
Is it right? [Y/n]:root  n[/code]
Problem is with the second time I call the function ChooseYes() function it doesn’t wait (CINT) for me to input the option. Does anybody know if this is a legal C++ code or how should I implement this so it works in CINT.
I am trying to implement an infinite loop so I can change a given parameter multiple times in a row and once I am satisfied with the result the loop exists.
Test.C (919 Bytes)