Question in C++
Posted on 2006-11-19
I'm working on a program in C++ and I've faced some problems in the coding
I need you to help me find some codes , so I can finish my program correctly :
1 ) The code for reading from a text file .txt
2 ) The code for writing the result in a text file , which has the format : result_X.txt
where X is the name of input file , it should be named at run time.
for example : for input1.txt -> output file name: result_input1.txt
3 ) A code to implement a Wait For Graph (WFG) , which shows nodes and arrows that connet the nodes together
the WFG may show a cycle between these node in a specific condition.