Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!rutgers!cmcl2!yale!spolsky-joel From: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Newsgroups: comp.sys.ibm.pc Subject: Re: Turbo C and cprintf(.. Keywords: Ver. 1.5, tabs Message-ID: <49044@yale-celray.yale.UUCP> Date: 28 Jan 89 21:49:40 GMT References: <1509@aucs.UUCP> Sender: root@yale.UUCP Reply-To: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Distribution: na Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 24 In article <1509@aucs.UUCP> 850181p@aucs.UUCP (STEVEN E. PARKER) writes: > > > I seem to be having problems with Turbo C ver. 1.5 and its cprintf >routine. The \t (tab) seems to print funny faces instead of moving a >tab! I'm sorry if this has come up before. Thanks in advance. > Sorry, you have to do it yourself. I know, that's a big nuisance. Try: void tab() { while ((wherex()-1) % 8) cprintf(" "); } +----------------+----------------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs.bitnet uucp: ...!yale!spolsky | | | internet: spolsky@cs.yale.edu voicenet: 203-436-1483 | +----------------+----------------------------------------------------------+ #include