From: <ste...@ge...> - 2001-08-06 18:23:11
|
strcmp need two strings as parameter. If the two strings are equal, strcmp returns TRUE. Otherwise it returns FALSE. ----- Original Message ----- From: "john mills" <jun...@ho...> To: <dev...@li...> Sent: Sunday, August 05, 2001 10:51 PM Subject: [Dev-C++] (no subject) > hi all. i have 2 questions. > > 1) when i try to do the following in my program, it compiles but wheni run > it i get an mscvrt.dll error, can anyone help. > > int numb; > char* s; > s = strstr("hello there", "there"); > numb = strcmp("there", numb); <<<---this is where the problem is. > > 2) you know you have the template for an API with dev-cpp. well how to i put > text inside that program? a button would be good too? > > thankyou to anyone that can help. > > John. > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |