I am new to C++ and am not very fimiliar with it. I have used Java before, and many of the things I would utilize in Java are not available to me, so I am in need of some assistance.
If I have txt file that has one record on each line, made up of three fields, seperated by spaces. For example:
"01/01/01" "a command" "a resource"
all without "" marks, which I am just using to keep the fields separate for the post.
I have to do the following computations on them:
- avg number of requests per day.
- avg number of each individual command per day.
- avg number of requests per resource per day.
Any help of how to go about doing this is appreciated. Thanks.