Hallo, Is it possible, that I can add the strings '1' '.' and '2'. I want to add this 3 strings: 1.2 and convert it into a float value and than I want add a float value.
No. I only can cut, copy or compare strings but I can not add them. d = a + b + c; e = (float) d; The compiler convert all char into ASCII numbers. I need e = 1.5 and no ASCII nuber.
Usually, the appropriate library functions can be found in string.h (strcat() ) and stdlib.h (atof() ).
View all questions in Keil forum