Комментарии:
It gets a little trickier when you have to check the arguments in command line to see if are digit or not. With *argv[] you have to dereference the pointer to the element and check if it is a digit then use atoi function (stdlib.h) to put in an int variable. It easy when you get used.
Ответитьhow do you put the certain lines inside // to be as ac comment ..it is an advanced way
Ответитьthank you
ОтветитьHello, for clarification purposes: when using functions under the <ctype.h>, is there a need to put ' ' inside the isdigit( ) for instance?
I got some different output when using
int d = '9' and int d = 9
Nice video, thanks
ОтветитьGreat explanation, liked the speed of your explanation
Ответить