I'm writing a compiler with Flex and Bison using C langage and need to convert a character string to a one simple character . which functions should i use ? i can't find it . forexample :
-string to integer we use : int i = atoi(yytext);
-string to float we use : float f = atof(yytext);