P
philbo30
Silly question, I know, but I have a code snippet that looks like this:
printf("blah blah");
printf("more blah");
x = a + b - c;
printf($%3.2f\n", x);
y = d + e;
printf($%3.2f\n, y);
printf("stuff");
and instead of it printing to the DOS window (as it does now), I want
the output to print to a file so that the file may then be printed as a
receipt by a receipt printer. Not that it really matters, but this is
all on XP Pro. -Phil
printf("blah blah");
printf("more blah");
x = a + b - c;
printf($%3.2f\n", x);
y = d + e;
printf($%3.2f\n, y);
printf("stuff");
and instead of it printing to the DOS window (as it does now), I want
the output to print to a file so that the file may then be printed as a
receipt by a receipt printer. Not that it really matters, but this is
all on XP Pro. -Phil