Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
#include "mbed.h" Serial pc(USBTX, USBRX); // tx, rx int main () { long long i; char szInput [64]="123456789012"; i = atoll (szInput); pc.printf ("The value is %ld",i); return 0; }This code works with 10 digits in the string, but not with 12. How is this possible that it behaves like an integer? Might it be a problem with the atoll?