continue to my previuos

I can't rely solve this problem , The function couldn't be called because the string that got form file is "SYMBOLS]" instead of "[SYMBOLS]" I don't no why , please help me.

the program get words from file "bin.txt" the file has tags , and all the words under each tag is transfared to an array.

I'm using the function istream.getline to get the lines from the file bin.txt

the function sacn_bin() gets all of the line inside that file and compares it with a specifed strings , according to that decides which finction to call , here is the point .

please note, if you changed the strcmp statement to compare with "SYMBOLS]" the function is called !!!!!

please if the program idea still unclear tell me.

thanks to you all.