home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12384 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  1.1 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cs.indiana.edu!umn.edu!esper
  2. From: esper@cs35b.cs.umn.edu (Dave Sherohman)
  3. Newsgroups: comp.lang.c++
  4. Subject: Stream I/O in Turbo C++
  5. Message-ID: <1992Aug16.023318.17440@news2.cis.umn.edu>
  6. Date: 16 Aug 92 02:33:18 GMT
  7. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  8. Organization: University of Minnesota
  9. Lines: 11
  10. Nntp-Posting-Host: cs35b.cs.umn.edu
  11.  
  12. OK, another question for you.  (As was guessed after my last one, I'm fairly
  13. new to C++... BTW, the actual problem with the struc claiming to have been
  14. redefined was that the .h file it was in was included twice into one .cpp
  15. file...  Oops...)  I'm playing with mixing windowing and stream I/O, and I
  16. can't figure out how to get the window to scroll properly.  When I hit the
  17. bottom of the window, 'cprintf("\r\n");' will send a linefeed and scroll the
  18. window up one line, but 'cout << "\r\n";' wraps the cursor back to the top
  19. of the screen instead of scrolling it.  How can I get the scrolling to work
  20. without resorting to using cprintf?
  21.  
  22. esper@ima.umn.edu
  23.