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