Raised This Month: $51 Target: $400
 12% 

Compiling problems


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lautj1994
New Member
Join Date: Jul 2020
Old 10-27-2021 , 10:05   Compiling problems
Reply With Quote #1

hi guys i have trouble compiling.
I get this error:
(2894) : warning 213: tag mismatch

PHP Code:
public sort_stringsi(const elem1[], const elem2[], const array[], data[], data_size)
{
    return 
strcmp(elem1elem21);

Lautj1994 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 10-27-2021 , 10:12   Re: Compiling problems
Reply With Quote #2

Boolean has only 2 options: true or false. No integers should be used to specify the value.

return strcmp(elem1, elem2, 1);

-->

return strcmp(elem1, elem2, true);
__________________

Last edited by Napoleon_be; 10-27-2021 at 10:14.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode