Windows10 VS2017 C++編譯Linux程序

#include <cstdio> #include <iostream> #include "unistd.h" using namespace std; int main() { while (true) { cout << "hello linux!" << endl; sleep(1); } return 0; } 開啓Linux虛擬機,運行以上代碼,彈出
相關文章
相關標籤/搜索