claracruz
asked on
PROBLEM WITH CODE
I have the follwoing code,
I have a block of code printing to printer.
the problem is that after the code to print is executed, e.g.
printT <<"\n\n Customer ID:" << CustID;
the code to close open files and rename temporary files is not executing.
for example, if i type
cout << "I GOT HERE"; before code to close files, it print the phrase, but does not seem to be closing files.
if i place this code after the coe to close open files, it is not executing. the program seems to get stuckwhen ithas to lose open files.
what i going wrong.
I have a block of code printing to printer.
the problem is that after the code to print is executed, e.g.
printT <<"\n\n Customer ID:" << CustID;
the code to close open files and rename temporary files is not executing.
for example, if i type
cout << "I GOT HERE"; before code to close files, it print the phrase, but does not seem to be closing files.
if i place this code after the coe to close open files, it is not executing. the program seems to get stuckwhen ithas to lose open files.
what i going wrong.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
cout = text!
prout = printer
prout or pout <<
T <<"\n\n Customer ID:" << CustID;
prout = printer
prout or pout <<
T <<"\n\n Customer ID:" << CustID;
thanks