_Bool Type Explained | C Programming Tutorial

  Рет қаралды 1,841

Portfolio Courses

Portfolio Courses

Күн бұрын

Пікірлер: 24
@fifaham
@fifaham Жыл бұрын
It is always great to watch your great videos.
@PortfolioCourses
@PortfolioCourses Жыл бұрын
I'm glad you enjoy them! :-)
@MarcoAurelio-sv2tk
@MarcoAurelio-sv2tk 3 ай бұрын
Interesting the _Bool type
@blaisofotso3439
@blaisofotso3439 Жыл бұрын
Dear Sir, I always watch and enjoy your videos. Would you please consider making video series teaching assembler, concurency, shared data, tasks and thread. Warm regards Blaise
@okibeogomola5921
@okibeogomola5921 Жыл бұрын
Great video!
@Tednic-ALX
@Tednic-ALX Жыл бұрын
Thanks for this..
@theblackelephant
@theblackelephant Жыл бұрын
wooow ALX student which cohort are you in
@Tednic-ALX
@Tednic-ALX Жыл бұрын
@@theblackelephant Cohort 16
@bredrenbonish9650
@bredrenbonish9650 Жыл бұрын
Can you make a singly linked video in C
@AlanChiel
@AlanChiel Жыл бұрын
is this work on android?
@grimvian
@grimvian Жыл бұрын
Thanks again for a great video. As a immediate hobby programmer, I really like the minimalism of C and hope that C not will expand to much. Now I spent my time on logic, not on a language which are almost endless and expand all the time. I like the idea of building or constructing e.g. bool types or in my case building my own string library, because it keep me my toes. As a brilliant C programmer Eskild Steenberg says: If anything goes wrong, you know the expert and you do not depend of 'something" that might change. kzbin.info/www/bejne/amWWhoGbfNd5pa8 Although I sometimes wish '!' could be replaced by 'not' and '&&' by and, and of course '||' by or. I read in the comments that C23 will have that, but I think, I'll stick with C99.
@thingsiplay
@thingsiplay Жыл бұрын
They should have named it bool instead of _Bool, if it acts the same. I'm actually shocked that C didn't have bool type before.
@theblackelephant
@theblackelephant Жыл бұрын
@thingsiplay actually bool is an alias of _Bool so using either of them will work fine
@thingsiplay
@thingsiplay Жыл бұрын
@@theblackelephant Doesn't it make debugging more complicated?
@theblackelephant
@theblackelephant Жыл бұрын
@thingsiplay no it does not make anything hard during debugging, more over it is a new feature. Here is what happened ok int _Bool; a new data type, the using typedef created an alias typedef _Bool bool;
@theblackelephant
@theblackelephant Жыл бұрын
Since anything zero (0) is false and the rest true (1000, -56, -1) all previous written code bases will still work fine
@theblackelephant
@theblackelephant Жыл бұрын
I went through the docs true and false are now new keywords in C23
Null Terminated String Safety Issues | C Programming Tutorial
19:29
Portfolio Courses
Рет қаралды 3,9 М.
Legal Ways To Call Void Functions | C Programming Tutorial
9:20
Portfolio Courses
Рет қаралды 4,4 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 12 МЛН
Segmentation Faults And Common Causes | C Programming Tutorial
10:51
Portfolio Courses
Рет қаралды 4,6 М.
Calculate The Factorial Of A Number | Python Example
4:46
Portfolio Courses
Рет қаралды 598
Count Even And Odd Numbers In An Array | C Programming Example
6:00
Portfolio Courses
Рет қаралды 992
Void Functions | C Programming Tutorial
5:38
Portfolio Courses
Рет қаралды 2,2 М.
Print Negative Numbers In An Array | C Programming Example
3:51
Portfolio Courses
Рет қаралды 714
Append A Character To A String | C Programming Example
3:30
Portfolio Courses
Рет қаралды 1 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН