garishnikov
Programmer
so..i dont know how to test if two strings are equal. need something equivalent to ".equals()" in java, just in c.
this is the code:
char c[2];
do
{
//some code
scanf("%s", c);
if(c == "y")
{ cont = 1; } else { cont = 0; }
}
while(cont)
Thanks