Message-ID: <365DE78C.E2DB7871@videotron.ca> From: Dac Chartrand X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: fr,en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: type string to int, help! References: <365DCF89 DOT AF5B0250 AT videotron DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 15 Date: Thu, 26 Nov 1998 18:43:09 -0500 NNTP-Posting-Host: 207.253.117.165 X-Complaints-To: abuse AT videotron DOT net X-Trace: weber.videotron.net 912123508 207.253.117.165 (Thu, 26 Nov 1998 18:38:28 EDT) NNTP-Posting-Date: Thu, 26 Nov 1998 18:38:28 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've solved my problem, after 1o hours straight all i needed was int toInteger(string abc){ char *str = abc.c_str(); return atoi(str); } Since I am a novice, can anyone explain to me why this doesn't work without the * near string? What does casting imply? Thanks. -- Alone Counter Productions / Intellectual Militia Recordings Hammer have you seen her? http://pages.infinit.net/acp/