Mail Archives: djgpp/2000/03/10/05:41:12
On Thu, 09 Mar 2000 22:54:56 David Cleaver wrote:
>Ok, I'm printing variables to a file. The code looks like:
>
>...
>cotnum(a, outfile);
>fprintf(outfile, "^%d + ", x);
>...
>
>Here, cotnum is from a library I'm using which prints a number followed by a
>new-line character. Unfortunately, I want the following string in the fprintf
>to be on the same line as the number that was just printed.
Try using:
fprintf(outfile, "%d^%d + ", a, x);
---
nimrod_a_abing
----------------
Hot Windows Tip:
----------------
How to free up at least 300 MB of hard disk
space (as seen from the MS-DOS prompt):
C:\>deltree c:\windows
Delete directory "Windows" and all its subdirectories? [yn] y
Deleting Windows...
C:\>
(don't try this at home kids... not unless
you have Linux installation CDs)
Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
- Raw text -