From: Paul Richards Newsgroups: comp.os.msdos.djgpp Subject: Strings Date: Sat, 6 Mar 1999 12:45:46 +0000 Organization: Paul's house Message-ID: NNTP-Posting-Host: dunvegan1.demon.co.uk X-NNTP-Posting-Host: dunvegan1.demon.co.uk:193.237.111.243 X-Trace: news.demon.co.uk 920724401 nnrp-02:5800 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.01 <5Y9PmoTxnkdx6tAFcQ+gcCx86I> Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, 1) I'm using the String data type thingy and I can do things like: string stuff="Hello"; but how do I input text from the keyboard because cin doesn't work. 2) How do I convert a string into a number (like VAL in BASIC) and back again (STR$ in BASIC)? 3) How do I get Allegro to print strings because I can only get it to work with chars. Is there a way to convert strings into chars? -- Paul Richards (aka. Pauldoo) EMAIL paul AT dunvegan1 DOT demon DOT co DOT uk HTTP www.dunvegan1.demon.co.uk/paul/ ICQ# 14106503