☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoJavaScriptimagemessage-square26fedilinkarrow-up1168cross-posted to: [email protected]
arrow-up1168imageJavaScript☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square26fedilinkcross-posted to: [email protected]
minus-squareSimon 𐕣he 🪨 Johnson@lemmy.mllinkfedilinkarrow-up2·edit-22 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