Please read the new rule regarding the restriction on the use of AI tools. ×

Just_Zedan's blog

By Just_Zedan, history, 12 months ago, In English

im currently switching to mac and i can't use c++ Policy Based DataStructure

it gave me "not found error"

include <ext/pb_ds/tree_policy.hpp>

include <ext/pb_ds/assoc_container.hpp>

using namespace __gnu_pbds; ----------------------------------

  • Vote: I like it
  • -19
  • Vote: I do not like it

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

You must install gcc

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

    i did install gcc with xcode and brew

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

      Do brew info homebrew

      it may ask you to use a different command