From someone who has been there, here are a dozen tips for software engineers who want to climb the corporate ladder: Be an outstanding software engineer. This can’t be overemphasized. Meet and exceed the expectations for your position. Make sure …
Read moreCan I return more than one thing from a C or C++ function?
Yes. Whether or not a function can return more than one value depends on the specific programming language you’re using and on whether you’re talking about pure functions or impure functions. Many programming languages, including C and C++, chose the traditional mathematical …
Read moreWhat is the third parameter I sometimes see defined in the main function?
The third parameter to the main function is not standard or portable in C or C++, but in practice, most modern compiler implementations allow an optional third parameter to main. The data type of this third parameter is pointer to …
Read moreWhy don’t they add a garbage collector to new versions of C and C++?
Let’s start by considering C++. As an opt-in option in C++, it is technically possible to add garbage collection to C++, as long as it is clearly specified how it integrates with the language and with the existing memory management …
Read moreWhat would happen if a bitwise operator like ^ were applied to objects of a C++ user-defined class?
The behavior depends on what conversions and operator overloads are defined for these types of objects. To simplify the discussion, let’s say that the objects you’re talking about are instances of class X. According to the C++ standard, bitwise operators …
Read moreHappy New Year and Online Course Status Update
Happy New Year! For us, 2018 has been filled with lots of software (and firmware) development projects for our clients, as well as delivering some new live training for our industry clients. We expect 2019 to be even busier. Status …
Read more