Post

Replies

Boosts

Views

Activity

Comment on Xcode 14 update has bugs and my code in c++ is not compiling with memory issues.
@endecotp Those two lines have nothing to do with this issue as I have been using them since years. It was compiling perfectly before Xcode update. Though, you can change these lines:- first line as I mentioned above and you can completely remove the second line. This code works only in Xcode but fails everywhere else, I tried in terminal also. To compile:-save this code in file with name solution.cpp, then go to that directory and run the command: "g++ --std=c++17 solution.cpp" Check below code
Sep ’22