Command line:
clang++ "C:\caminho\completo\helloworld.cpp" -o "C:\caminho\completo\helloworld.exe"
Code:
#include <iostream>
using namespace std;
int main(){
cout << "Ola Mundo" << endl;
return 0 ;
}
Error:
C:\caminho\completo\helloworld.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
^
1 error generated.
I have already looked at the internet and for the briefest of my understanding I should use libG ++ from minGW, if so, what is the purpose of clang?