How to study standard libraries?
The C Standard Library is quite astonishing due to lack of namespace, so it is a quite troublesome problem;
Using the way of thinking, we can quickly understand the way objects;
This kind of thinking is in a large amount in the API of C, we need to master;
We can use the reference documentation to analyze
What we need to know is that this library contains those classes;
This is the key;
I am used to java c # These high-level language thinking methods, learn C's way of thinking is very difficult thinking, to learn C library then do some exercises, you can
For example, in stdio.h, define
File
String stream We can use these methods to build our new class