Search:

Type: Posts; User: kryz

Search: Search took 0.01 seconds.

  1. nevermind... I figured it out. Thanks for the...

    nevermind... I figured it out. Thanks for the help! :)
  2. did change to ofstream dataFile; and to...

    did change to ofstream dataFile; and to dataFile.open("sales.txt", ios::out);

    which that created error again I mentioned above:

    119: error: no match for 'operator>>' in 'dataFile >> line'
    121:...
  3. hmm.. I changed that and now it said no match for...

    hmm.. I changed that and now it said no match for 'operator<<' in dataFile' ...
  4. Ive tried to remove the code down below in...

    Ive tried to remove the code down below in choice 2.


    dataFile.open("sales.txt", ios::out | ios::app);


    It did the same thing to 0.00. What should it be changed to?
  5. Strcmp - Reading from File (Can't read?) - Beginner

    I created a program for fun which its for Halloween. I wasn't able to get it working as comparing strings from text file (its in Choice 2 - if statement). It only returned 0.00 instead of outputting...
Results 1 to 5 of 5