NEED HELP - MD5_Hash ERROR
#1

Quote:

error 033: array must be indexed (variable "MD5_Hash")

Код:
if(strlen(inputtext) < 3 || INI_ReadString(file,"Password") != MD5_Hash(inputtext))
Whats wrong here?
Reply
#2

UP. I need this.
Reply
#3

You need strcmp to compare strings.
Reply
#4

Can you help me with this?
Reply
#5

Like where to place the strcmp( ?
Reply
#6

strcmp(stringA, stringB)
returns FALSE when both strings are the same. So:

!strcmp(INI_ReadString(file,"Password"), MD5_Hash(inputtext))
Reply
#7

Quote:

if(!strcmp(INI_ReadString(file, "Password"), MD5_Hash(inputtext))

Error:
Quote:

error 035: argument type mismatch (argument 1)

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)