filestream/operator overload help

This is a discussion on filestream/operator overload help within the C++ Programming forums, part of the General Programming Boards category; I am trying to input a file that contains numbers and operators. The goal is to take the input, do ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    1

    Red face filestream/operator overload help

    I am trying to input a file that contains numbers and operators. The goal is to take the input, do some conversions using operator overloading, and compute result. The input is in the form of British currency. I have to take the left side of money, then do the operator with the right side. I am having a difficult time trying to loop through the input file and put the currency into the right array along with the operators to the right array. Maybe I am doing it wrong with the array, I dont know. All the computer guys are foreign, and cant understand me. Please help.

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    119
    You're going to have to be a little bit more specific with a question describing exactly what you are having problems with and showing relevant code.
    If you speak or are learning Spanish, check out this Spanish and English Dictionary, it is a handy online resource.
    What happens is not as important as how you react to what happens. -Thaddeus Golas

  3. #3
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    First, can we see the sample of input.

    >>The goal is to take the input, do some conversions using operator overloading
    You want to convert the input, what do you mean? From what to what? What operator are u trying to overload? + operator?

    Oh yeah, post the code you've done so far and welcome to the board
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21