First, this sounds like "Beginner" Forum material rather than "UNIX/Linux" Forum. I believe that you can move the thread yourself by editing the first post.
Second. You seem to be using C rather than C++. There is nothing wrong with that, but C++ has more options for I/O.
Your example has already some issues:
* You don't verify that there is argv[1].
* Input data contains 11 elements, but your program cannot store more than 10.
* You ignore first data point in the sum of delays.
What should readArgFromFile do?
Perhaps read first line until it finds '=' and then store the first integer after it?
Ignore the second line up to '=' and then read up to num_nodes float values?
Do you know how to read from stdin? It is quite similar to a FILE*.