Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,271 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,442 people online right now. Registration is fast and FREE... Join Now!




time arthmetic problem

 
Reply to this topicStart new topic

time arthmetic problem, .

maw909
13 Oct, 2006 - 10:11 PM
Post #1

New D.I.C Head
*

Joined: 21 May, 2005
Posts: 2

I wrote a time class and its implementation. now i'm trying to write a function that reads specic lines from file and do the operation either addition or subtraction. in the bigning that program will promb the user to enter the input file name and where to store the results. the input file contains at the top the total number of times. then time after that lines like 90 + 60 which means add the time in line 90 to the time in line 60.


Attached File(s)
Attached File  input3.txt ( 3.33k ) Number of downloads: 25
User is offlineProfile CardPM
+Quote Post

gregoryH
RE: Time Arthmetic Problem
13 Oct, 2006 - 10:13 PM
Post #2

D.I.C Regular
Group Icon

Joined: 4 Oct, 2006
Posts: 417


Dream Kudos: 50
My Contributions
QUOTE(maw909 @ 13 Oct, 2006 - 11:11 PM) *

I wrote a time class and its implementation. now i'm trying to write a function that reads specic lines from file and do the operation either addition or subtraction. in the bigning that program will promb the user to enter the input file name and where to store the results. the input file contains at the top the total number of times. then time after that lines like 90 + 60 which means add the time in line 90 to the time in line 60.

Please post your code so we can see what you are doing
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 07:53PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month