I was thinking for the future when I get good enough at C++ if its possible to make an OS in C++.

I am aware that most of windows and linux are made of C++ but I just don't know where I would start.

I would use grub as the boot loader because its easy to configure.

but I use iostream, stdlib.h, and string during almost all of my terminal based projects so would have no idea how to recreate those libraries.