I'm using this code to test the entry from the command line when executing the program .. It's not working. What should I do ???? ?
if(argc >1)
{
if (argv[1] == "b" || argv[1] == "B")
{b =1;}
else if (argv[1] == "h" || argv[1] == "H")
{ b = 0;}
}
else
{ b =0; }