I've learned that numerical types, such as int and long long, are stored in a base-two format in C++. These individual bits can be accessed and modified using bitwise operators.
However, I recently wondered why numbers weren't printed to the screen from std::cout in base 2 as well, and thought that they must've been converted to base 10 before being printed. In other words, since std::cout outputs these numbers in base 10, I think that there must be some conversion process going on to convert these numbers from base-2 to base-10.
Overall, my question is, does std::cout actually convert numbers from base 2 to base 10, and how does it do so? Am I making some other logical mistake here?