my professor has written a program(LetturaFile.C) in order to create a histogram. This program read dates from a txt file (lente_biconvessa.txt) and, in order to run the program, he said to use " root -l ‘letturaFile.C++(“lente_biconvessa.txt”,40,200,300)’ " but root gives me this error:
macro 'letturaFile.C not found
and when I delete the " ’ " root gives me these errors:
Error: Symbol lente_biconvessa is not defined in current scope (0)
Error: Failed to evaluate lente_biconvessa.txt
From the error message, it seems like you are using two single quotes instead of a double quote somewhere.
Please try to copy and paste the command as I wrote it above. It works for me.