Coding Thread, Help with C++ program needed in Coding and Web Development; I have a program for my assignment but I'm struggling with reading/writting to file. If anyone can help I'll be ...
2nd April 2008, 07:25 PM #1
- Rep Power
Help with C++ program needed
I have a program for my assignment but I'm struggling with reading/writting to file. If anyone can help I'll be more than happy.
cout << "Failed to find file quotes.txt";
cout << "\n\nEnter another quote?";
cin >> AnotherQuote;
file exist on disk in that location.
2nd April 2008, 08:18 PM #2
And what made you think of posting here
2nd April 2008, 09:01 PM #3
You never know who has c++ experience. I am more a c#/php sorta person myself so I doubt I am much help.
2nd April 2008, 09:52 PM #4
- Rep Power
I've been writing c++ for about 12 years...
I'd help you but I'm not sure what the question is ?
2nd April 2008, 10:07 PM #5
3rd April 2008, 12:13 AM #6
- Rep Power
I'm not a spam program. Maybe i didn't precise question right but i just want to have general outlook if anyone have any C++ experience to help me. i didn't want to post my entire program.
My program have to read data from file, store them and add new records to the end of this file.
3rd April 2008, 09:20 AM #7
You've not given us enough information - at least not in the right places. There are a bunch of function calls in there - ReadRecords() for example, which aren't standard, so we have no idea how they work. Ditto your object/struct "Quote", and as for the variable "i" - where is it set, and what significance has it?
I would suggest you start again, and do very, very small bits at a time, testing weach stage thoroughly as you go, Whatever you do, ALWAYS write ecvery line yourself. Don't cut and paste bits of other similar code and expect to tweakl them, or you won't gain the understanding, and when it breaks, you're boned.
Don't think anyone's going to write this for you, but I for one would be happy to answer any specific C/C++-y questions, though its been a few years since i had my hackers' hat on!!
By mark in forum Downloads
Last Post: 12th May 2010, 09:15 PM
By strawberry in forum Educational Software
Last Post: 27th January 2010, 02:16 PM
By boomam in forum How do you do....it?
Last Post: 24th January 2008, 09:46 AM
By edie209 in forum Wireless Networks
Last Post: 26th July 2006, 06:38 PM
By projector1 in forum Hardware
Last Post: 24th February 2006, 10:20 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread