SAT2020's blog

By SAT2020, history, 22 months ago, In English

Does anybody know how to use the g++ compiler in XCode IDE? I have a version of g++ on my local device but I can't seem to switch the compiler in XCode. When I look at build options only the default compiler is available and I can't switch it.

I'm trying to use the <bits/stdc++.h> header and policy-based data structures so if anyone knows a way to do that without switching the compiler, that would be cool too.

Thanks!

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
22 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I am using policy based data structures in both vs code and sublime in my mac. I have integrated terminal in both of these. And I have configured custom keybindings for compiling and running in vs code (without run code extension). So I dont have to explicitly write compilation or run commands in the integrated terminal. I am unsure about where you are facing problems but if you want to do it as me, you can DM me.

  • »
    »
    22 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    please tell me the procedure.If possible please share any video link.I am also unable to use <bits/stdc++.h> in vs code.thanks in advance.

»
22 months ago, # |
  Vote: I like it 0 Vote: I do not like it

use CLion instead