Is there any substitute for command scanf to extract number from char array? I found one problem with it: it waits for keyboard input. Do I use it incorrectly or is there any way how to make it no waiting? Just to run and print the number without pause.
1 2 3 4 5 6 7 8
int theNumber = 0;
printf("your number is %d", theNumber);