Post

Replies

Boosts

Views

Activity

Reply to Xcode 14 update has bugs and my code in c++ is not compiling with memory issues.
Same Issue: C++ program is not running because of Xcode 14 #include <iostream> #include <unordered_map> #include <vector> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); vector<int> arr = {1, 2, 3, 4}; for(int i : arr) cout<<i<<" "; cout<<endl; unordered_map<int, int> m; m[1] = 1; for(auto it: m) cout<<it.first<<" "<<it.second<<endl; return 0; }
Sep ’22