ctype Library | C Programming Tutorial

ctype Library | C Programming Tutorial

Portfolio Courses

3 года назад

8,763 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Bogdan Lupu
Bogdan Lupu - 08.07.2023 02:00

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.

Ответить
Zakaria Alabous
Zakaria Alabous - 05.05.2023 20:43

how do you put the certain lines inside // to be as ac comment ..it is an advanced way

Ответить
anas waleed
anas waleed - 18.02.2023 12:26

thank you

Ответить
Winwin
Winwin - 11.07.2022 23:37

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

Ответить
Comic - Typ
Comic - Typ - 07.11.2021 22:38

Nice video, thanks

Ответить
Carlos
Carlos - 05.10.2021 10:41

Great explanation, liked the speed of your explanation

Ответить