From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: Text input with Allegro Date: Thu, 5 Apr 2001 06:22:18 +0200 Organization: The South African Internet Exchange Lines: 24 Message-ID: <9agrpu$mnd$1@ctb-nnrp2.saix.net> References: <94qy6.843$To1 DOT 5745 AT nntp1 DOT chello DOT se> NNTP-Posting-Host: pc53-01-p19.nt.saix.net X-Trace: ctb-nnrp2.saix.net 986444414 23277 155.239.176.19 (5 Apr 2001 04:20:14 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 5 Apr 2001 04:20:14 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Daniel Eliasson wrote in message news:94qy6.843$To1 DOT 5745 AT nntp1 DOT chello DOT se... > Hi, I'm having some trouble getting user input in my game. > > More specifically, since I use Allegro, I can't use cin, and I really need > to get a buffered input reader that let's a player input a name. Does anyone > know how to do this? > > Example code is always appreciated. Feel free to mail me if you don't want > to post it here. Have you considered using the GUI textbox function? Think it is called d_edit... Stefan Viljoen F/EMS Dispatcher Potchefstroom F/EMS South Africa http://home.intekom.com/rylan/