☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoJavaScriptlemmy.mlimagemessage-square26fedilinkarrow-up1169arrow-down14cross-posted to: programmer_humor@programming.dev
arrow-up1165arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square26fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up2·edit-23 days agoYeah you’re actually right, it’s an int in C since K&R C didn’t have bool, however it’s a bool in C++. I forget my standards sometimes, because like I said this doesn’t really matter. It’s just nerd trivia. https://en.cppreference.com/w/cpp/types/type_info/operator_cmp.html
Yeah you’re actually right, it’s an
int
in C since K&R C didn’t havebool
, however it’s abool
in C++. I forget my standards sometimes, because like I said this doesn’t really matter. It’s just nerd trivia.https://en.cppreference.com/w/cpp/types/type_info/operator_cmp.html