I was trying to run some c++ code on clang (I have command line tools installed)
but it just showed this error:
Undefined symbols for architecture arm64:
then it showed bunch of random gibberish
here is my code:
#include <iostream>
#include <vector>
using namespace std;
typedef std::string type_t;
int main(){
type_t name = "Yashar";
cout << "Hello " << name << '\n';
return 0;
}