how to check if the OS is Windows or Debian in c++?
I want to clear console screen every time the user make an input in C++.
I\'m thinking of using system command. For Windows, it is \"cls\". For Linux, it is \"clear\". Is there a way check which syst
问答
阅读(2)