that way if someone were to hex edit the string of the name1 it would change the output value making it more difficult for just a regular with a hex editor
and another question stricmp isn't case sensitive what pointer would be identical to it but with case sensitivity?
If statements will resove with a zero and nonzero so you could just use
if (!stricmp(foo, foofoo)) // true in this case
If is returns less than 0, str1 is less then, if it returns greater than 0, str1 is greater. If you want that level of control you can compare if return to 0.
now it use the last print() to figure out the output and then found it was -25
i tried to set the output to say if name = "ryan" and output = -25 then load if name = not "ryan" or output = !-25 then don't load this way someone would have to know the output value of the key, "their hexed name" in order for it to load since if you change it so does the output all works but one thing
if name = ryan it will load say everything and work itl print "Outputcorrect" but if i change the name to something like "erer" it will load and say all was well but it wont say if output is correct or leave game if it isn't im assuming something to do with my INT
ok i got it and it works now i realized i was trying to say opposite of output when i should have put a less than or greater than and it all works thank you forum for the help this is the first time i have really reached out for help on something other than doing it myself and well thank you :)