delorie.com/archives/browse.cgi | search |
Date: | Fri, 13 Mar 1998 17:22:32 -0800 (PST) |
Message-Id: | <199803140122.RAA06032@adit.ap.net> |
Mime-Version: | 1.0 |
To: | PeeTee <peter95 AT hem DOT passagen DOT se>, djgpp AT delorie DOT com |
From: | Nate Eldredge <eldredge AT ap DOT net> |
Subject: | Re: HELP ME... |
At 06:52 3/13/1998 +0100, PeeTee wrote: >Hi out there! >I have a problem and i think somebody can solve it easy... [deleted] >I tried to use > > >if(keypressed()) > search_for = search_for + readkey(); > >but search_for looks funny when i use textout... C can't concatenate strings like that. Try: int i = 0; if (keypressed()) search_for[i++] = readkey(); Also consider asking on comp.lang.c. Nate Eldredge eldredge AT ap DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |