We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The width array was missing in the C / C++ / C++ 14 versions of the stuff given.
People should be able to figure that out and all, and hey, C++ is harder anyway, right? But seriously, in an Easy-level question it would be nicer not to leave that out.
I often can't tell if the omissions or not-wide-enough data types in some languages but not others are features or bugs. It is good practice regardless, but I wasted a lot of time and some hackos before I realized you can't always trust the given parts at least in C++ and C versions.
Service Lane
You are viewing a single comment's thread. Return to all comments →
The width array was missing in the C / C++ / C++ 14 versions of the stuff given.
People should be able to figure that out and all, and hey, C++ is harder anyway, right? But seriously, in an Easy-level question it would be nicer not to leave that out.
I often can't tell if the omissions or not-wide-enough data types in some languages but not others are features or bugs. It is good practice regardless, but I wasted a lot of time and some hackos before I realized you can't always trust the given parts at least in C++ and C versions.