i need help with this in c++

10/30 pts Question 31 Implement the void function GetData that will have two parameters: an input file stream called myDat 10/30 pts Question 31 Implement the void function “GetData” that will have two parameters: an input file stream called “myData.txt”, and a cyber record called “node_info” The function will read the node_number (integer), minutes (integer), and fail_probability (double) fields into a cyber_record (node_info) from the data file. Assume that the input file stream is already open. Following is the declaration of the cyber_record: class cyber_record { public: int node_number, minutes; double failure_probability; };



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *