read file and print in specific format c++
- by 3yoon af
Dear all,
I have a program that i should write a code using c++ lauguage and i don't used this laugauge before..
I now how to write it in java or c#, but i should write it in c++ !!
the code should read a text file (i do this step) and then print the output in specific format using the array (i don't now how to do this step)
For example:
The file has the following:
Task distribution duration dependence
A Normal 2,10 -
B UNIF 2,7 A
The code will print the following:
The task A is a normal distribution and it is duration between 2 and 10. It doesn't depend on any task. Task B is unif distribution and ...... etc ..
Can someone help me, please?