home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12427 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  943 b 

  1. Path: sparky!uunet!gatech!rpi!batcomputer!munnari.oz.au!uniwa!uniwa!nfm
  2. From: rmascaro@uniwa.uwa.edu.au (Robert Mascaro)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Borland C++'s printf
  5. Date: 25 Jan 1993 12:09:23 +0800
  6. Organization: The University of Western Australia
  7. Lines: 12
  8. Message-ID: <1jvp5jINNe3q@uniwa.uwa.edu.au>
  9. NNTP-Posting-Host: uniwa.uwa.edu.au
  10. X-Newsreader: Tin 1.1 PL5
  11.  
  12. I am not sure that this is the right group but here goes. 
  13. I am writing a TSR using C++ (borland's) and are having trouble with the
  14. printf statement. I am outputing integer variables to the screen and
  15. need a printf("%i",x) etc statement. The problem is that it crashes at
  16. the point of output each time. I have tryed a "cputs" to test the
  17. problem and this works fine, however any printf statement will crash the
  18. machine.
  19. As background, the TSR I mentioned makes a clock tick on the screen
  20. while using DOS.
  21. Any suggestions, advice??
  22. Thanks in advance,
  23. Rob.
  24.