For eg, if you google "the system() function in c++ tutorialspoint/geeksforgeeks/cppreference", you'd come across tutorials and references of how to use the system() function in your program, along with various parameters you can pass to get various jobs done (for example in the case of system(), we have system("clear")
system("date")
etc)
But I think this usage must be defined somewhere in one of the header files right? So I can just go there and read it instead of coming online.
Well the issue is that I tried going to the definition of the function system()
which was located in stdlib.h
but nothing written there makes sense to me. I tried searching where the usage of system("clear")
might have been defined using the trusty ctrl+f in the stdlib.h
file but guess what(?), nothing came up.
Can someone help me achieve this self reliance I'm trying to build? thanks.