What I am trying to do is write to a single file with multiple filehandles. I want to write different detail lines depending on the result of an if statement. Any sugestions?
I am creating a report with the print command in SQR and it always sends the .lis file to the \temp directory. I was wondering how to change that to a directory of my choice.
I am in a c++ class and I am having a problem with part of my program. The code is as follows:
#include <iostream.h>
void main()
{
int num;
cout << "Enter # of credits: ";
cin >> num;
while(cin.fail()!=0)
{
cout << "error";
cout << "Enter # of credits...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.