Help with INI
#1

Hi there, im trying to read and .txt file and compare it with some string, like

.txt :

Hola

string:

xd

if i compare these it will return false, i hope u will understand me. i dont speak english very well xd
Reply
#2

Mind showing your code?
Reply
#3

PHP код:
    new File:INI fopen("fileadaw.txt"io_read);
    new 
lectura[256];
    if(
INI){
    while(
fread(INIlectura)) print(lectura);
    
fclose(INI);
    }else{ 
printf("The file doesn't exists"); }
    new 
playerName[48];
    
playerName "adwadwa";
    if(!
strcmp(playerNamelectura))
    {
       
printf("it works");
    }else{ 
printf("nop"); }
    return 
1
Reply
#4

UP!, Help meee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)