• atoi problems
    I am having problems getting atoi to work. here is how I populate the comin[] array do { comin[index] = (getchar()); ++index; } while (index<=4); later in the program I do the following...
  • atoi, strol functions problems
    Hello, I work with LPC2148 and RealView Compiler. I have noticed that if I convert a string with the atoi function, the result never is correct. If the value of the number in the string is...
  • atoi and int value into unsigned char
    Can i store a int into a char if result is less than 255 ? or i need to store only the lower byte? unsigned char mychar[10]; unsigned int intvalue; intvalue = 1000; intvalue = 1000 - 950;//value...
  • atoi doesn't work for all numbers
    The function atoi (and sscanf, atof etc), all appear to have the same (unlikely) problem: they don't read the number 5. Yes, I realize that this seems very unlikely. I am using uVision version 4...
  • C206 warning & C267 error while using atoi function
    Hello everybody, First of all I thank you all. With the help of you people I have started programming in C. I have completed my first project in C. Now in my another project, I used the atoi...