I reinstall arch linux and now i wont to compile my cpp file, but i have this error.
c++ file
`#include
using namespace std;
int main(){
cout << “Hello wordl” << endl;
return 0;
}`
This file is in folder OneDrive, and there “g++ hi.cpp -o main” doesn’t work.
But if I make new file in home directory and compile, work.
New contributor
илья кипер is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.