this question have been bothering me so much for the past couple of days I was wondering how the standard library work in terms of functionality and I couldn't find an answer anywhere even by checking the source code provided by the LLVM compiler which is "for a beginner like me" a really complicated and annoying piece of code
但是无论如何,我基本上想在这里理解的是c ++标准库如何工作 例如,让我们采用fstream头文件,其中包含一堆有助于写入和读取文件的函数
它是如何工作的 ?它是否使用操作系统特定的API(因为std库是跨平台的)?要不然是啥 ?如果标准库可以做到这一点,那么我是否应该不调用标准fstream文件就能弄乱某些文件? (根据我的经验,我无法做到)
边注 : 如果我不是母语为英语的人,我的问题不清楚,我深表歉意,请随时修改此文本以使其更清晰