Go to the source code of this file.
char* testconfigstuff |
( |
| ) |
|
Definition at line 1 of file testconfigstuff.C.
References file.
3 char* default_name = (
char*)
"cbmsim";
4 char* workdir = getenv(
"VMCWORKDIR");
7 cout<<
" MARKE 1"<<endl;
12 FILE*
file = fopen(Form(
"%s/config/rootmanager.dat",workdir),
"r");
16 cout<<
" MARKE 2"<<endl;
21 if(NULL == fgets(str, 100, file))
23 cout<<
" MARKE 3"<<endl;
28 char* treename =
new char[100];
29 if(1 != sscanf(str,
"treename=%s", treename))
31 cout<<
" MARKE 4"<<endl;
38 cout<<
" MARKE 5"<<endl;