main()
{
char var[8]="abcdefgh";
if(strcmp(var,"abcdefgh")==1){printf("true\n");
system("pause");
}else{printf("false\n");system("pause");}
}
Type: Posts; User: jonathanrs
main()
{
char var[8]="abcdefgh";
if(strcmp(var,"abcdefgh")==1){printf("true\n");
system("pause");
}else{printf("false\n");system("pause");}
}
sorry people! something really weird happened to this computer while trying to compile this code, or it just didn't want to follow my commands. =P
i'd tried everything and this:
...
i'm new to programming and i was trying to compile this code:
usage: as.exe value1 value2 value3
if(argv[2]=="x"){
printf("worked\n");
}else{printf("not worked\n");}