Message from C, C++ discussions

November 2019

— If scanf equals to 1 else …

— 

Sure for example:

if(scanf("%i", &somenum)) { 
//Okay
} else {
//Dammit something went wrong
}
the == 1 is implicit because 0 evaluates to false and everything else to true so 1 is true

— Nice

— reinterpret_cast how long you have been coding for ?

— I started when I was 11 and I´m 18 now so 7 years ^^ and every day at least 3 hours - I´m crazy 😂

— And you?

— Not very long but i been coding mostly everyday

— I have some javascript , c/c++ experience

— Html , css , jquery , bootstrap

— Some node experience also

— Lol frontend

— Meh