From: "Joey Barden" Newsgroups: comp.os.msdos.djgpp Subject: Re: Adventure game Date: Fri, 7 May 1999 15:09:45 -0400 Organization: none Lines: 31 Message-ID: <7gve53$215@world1.bellatlantic.net> References: <01be9641$b606eb60$LocalHost AT thendren> NNTP-Posting-Host: client-151-200-121-153.bellatlantic.net X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Christopher Nelson wrote in message <01be9641$b606eb60$LocalHost AT thendren>... > > >>Hey im a beginner but i sorta wanna jump ahead and instead of e-mailing for >>everything i needed one at a time im doing them all at once!: I want to >make >>a little text-adventure game. I know how to output the text to the screen >and >>get the user input( i use cin and cout, i dont know any other way )but >first >>how would get input with spaces? Such as: Kill Enemy or Get Bottle? How > Go to yahoo and type in the search string "c tutorial" this will get you started with free knowledge on c and c++. as for getting input with spaces between words like "Kill Enemy" you should look in to the C++ "cin.getline()" function. If you want to read the best beginner books online for free, go to http://pbs.mcp.com and subscribe to the personal bookshelf and you will find more free online programming books than you can read in a month.....FOR FREE! these books address the questions you asked If you have any questions on how to subscribe to the service they offer e-mail me at barden AT bellatlantic DOT net and I will assist you.