opening of DAG file

I have a DAG (Direct Acyclic Graph) file and when directly open in C++, shows following:

processors 16;
comp 287 comma 129 commb 2430450;
taches 382;
10000,0:0;
10000,0:100;
10000,0:101;
....
....
....

Can any1 plz tell me how to open this file in C++ because after opening I need to work on the values it has. I know how to open a .txt file but how can I open this kind of file?
You need to write a class to read in that specific file and parse it off into a container for accessing.
Topic archived. No new replies allowed.