Trouble understanding...

Hello. I do not have any questions on a specific C++ problem, but more of a fundamental lack of understanding. I dont understand how things like the allocation of memory, writing of files or writing to a console window work. I dont understand how you could write a function like malloc for example in C++, or how one could write code to write to a file to the harddrive (I thought it was handeled by the OS), and as for consoles, I dont understand how iostream can work on Windows and Linux etc, when they handel Console windows etc. Diffrently. I tried looking at standard libary files but didnt undertstand it...
(I thought it was handeled by the OS)
It is.
So then how do the standard libaries work cross-platform?
Each platform has its own version(s) of the standard library.
Topic archived. No new replies allowed.