im having some trouble with the function createvideostore in mytestVideoStore.cpp
why isnt it reading the info from customer.txt???
im having some trouble with the function createvideostore in mytestVideoStore.cpp
why isnt it reading the info from customer.txt???
Last edited by noob2c; 09-20-2003 at 02:00 PM.
If you're using a string then you must add a special extra arguement when you file1.open( )
I don't know...
Name: Eric Lesnar
Learning: C/C++, SDL, WinAPI, OpenGL, and Python
Compiler: Dev-C++ 4.9.0
Current Game Project: Acoznict
but then it does work for videoDat, why not for customerDat?
is certainly wrong.Code:cerr<<"Input file \"videoDat.txt\" does not exist"<<endl;
}//end for
is ending a WHILE loop. (no, the comment doesn't affect the code)
>>why isnt it reading the info from customer.txt???<<
Care to tell us what is wrong? What the program is doing? Care to read the board rules?
>> If you're using a string then you must add a special extra arguement when you file1.open( )<<
WTF?
Away.
yes, the createvideostore function is supposed to read all the info from customerDat.txt and input it correctly. I have no clue why it isnt doing so.
okay i figured out what was going wrong, it now inputs the name of the clients but not the name of the movies they have rented out. im uploading the modified files.
k.