This is exactly why I have always thought that the move to Java for intro courses was a terrible idea.
C/C++ were never ideal for beginners, but it was still possible to strip it down to building blocks without immediately resorting "don't worry about this now."