How I set up my Mac and VS Code for Competitive Programming (also valid for Windows)

Поділитися
Вставка
  • Опубліковано 26 сер 2024

КОМЕНТАРІ • 48

  • @shaikarshadsa2560
    @shaikarshadsa2560 Місяць тому

    You earned my respect and an subscriber.

  • @JayPatel-cz6hk
    @JayPatel-cz6hk Рік тому +2

    You are life saver man. You solved my #include error

  • @Yug-lo3vp
    @Yug-lo3vp Рік тому +3

    Thanks bro. Crystal clear, super helpful.

  • @rizzron
    @rizzron 2 місяці тому

    It's very helpful video and easy to do. The video covered all necessary things needed for C++. Thanks a lot buddy.

  • @joshuamanivinod9873
    @joshuamanivinod9873 10 місяців тому

    You are a life saver bro.....I wasn't able to change my compiler.....Thank you soo much

  • @anushkamandal8788
    @anushkamandal8788 Рік тому +1

    Thanks a lot!! This video was really helpful.😄

  • @subhamcoder
    @subhamcoder Місяць тому

    You solved my #include error

  • @prakhardhama4924
    @prakhardhama4924 Рік тому

    best video for Mac c++ setup thanks!

  • @theludicrousstuart6858
    @theludicrousstuart6858 6 місяців тому

    8:37 we can add a new string: "$0" into the array(wherever needed), so that after loading the boiler code the cursor remains at this line where "$0" is mentioned. Furthermore you can go into settings and set 'scroll to cursor' = 10 so the cursor adjusts to stay at the middle of the screen. that saves me a little 1s everytime.

    • @rishabhxchoudhary
      @rishabhxchoudhary  6 місяців тому +1

      Yes, this video is a bit old, at that time i didnt know that. Thanks. I uploaded a new video of my sublime setup, i have shifted to sublime now and I think its better for competitive programming as it is light weight.

    • @theludicrousstuart6858
      @theludicrousstuart6858 6 місяців тому

      @@rishabhxchoudhary is that so? Btw these extensions seemed to be shut down recently. I'm getting started. I'm now using VsCode's run++ extension which reads from an input.txt and generates an output.txt. it feels enough for now :)

  • @tanishinayak1874
    @tanishinayak1874 2 роки тому +1

    Great video, thank you!!

  • @ervjyothiraditya3531
    @ervjyothiraditya3531 Рік тому +1

    Thank you
    Ver very helpful

  • @whatever1538
    @whatever1538 Рік тому +1

    Earned my sub!

  • @khushdilkumar2315
    @khushdilkumar2315 2 роки тому +1

    Very helpful video

  • @killua8762
    @killua8762 Рік тому

    Thanks man, really helpful.

  • @rohakdebnath8985
    @rohakdebnath8985 9 місяців тому

    Much Love

  • @mohammadevanabygailhezal9860
    @mohammadevanabygailhezal9860 Рік тому +1

    #include still not working on macbook pro m2

  • @loudcapricorn5513
    @loudcapricorn5513 Рік тому

    Super helpful. Thank you

  • @aiogaming3077
    @aiogaming3077 2 роки тому +1

    Very nice

  • @sonalgupta8210
    @sonalgupta8210 2 роки тому +3

    Very helpful, thanks ❤

  • @rohita6532
    @rohita6532 Рік тому

    thanks broo really very useful video

  • @nayemmursalin
    @nayemmursalin Рік тому

    Thanks a lot brother.

  • @yar3_yar3
    @yar3_yar3 Рік тому

    Thanks man!

  • @its_kundan
    @its_kundan 11 місяців тому

    Thank you bhai, ❤‍🩹❤‍🔥❤‍🔥

  • @pratikgupta7373
    @pratikgupta7373 Рік тому

    its was awesome

  • @prateekkanaujia7341
    @prateekkanaujia7341 Рік тому

    thanks man

  • @rajvirdi1816
    @rajvirdi1816 10 місяців тому

    god bless you

  • @foysal_dev
    @foysal_dev Рік тому

    Thanks

  • @hasanakhiar
    @hasanakhiar 2 місяці тому

    cant access to the usr/include/c++/v1 where i have to save the .h file

    • @rishabhxchoudhary
      @rishabhxchoudhary  2 місяці тому

      Check this video: ua-cam.com/video/WopoCg91SiE/v-deo.html

  • @lockyer8315
    @lockyer8315 Рік тому +1

    This is what i was looking for...i searched the whole yt to make stdc++ header file work on mac, now my search is finally over. One more question, how to compile my vs code c files using gcc/g++ compiler instead of clang? i have installed gcc using homebrew but i am not able to run programs using it on vs code.If you know the process pls make a video on it asap.

    • @rishabhxchoudhary
      @rishabhxchoudhary  Рік тому

      it is already compiling using gcc/g++. if you have multiple compiler, make sure it is added to your path and then make necessary changes is code runner executor map in vs code (06:38 in the video).

    • @lockyer8315
      @lockyer8315 Рік тому +1

      @@rishabhxchoudhary By default, it gets compiled by apple's clang compiler.
      I will try to add the path as u said ,then i will update this comment.

  • @ankitsrivastava5961
    @ankitsrivastava5961 11 місяців тому +1

    nobody talks about java setup

  • @adityaabhiram2889
    @adityaabhiram2889 8 місяців тому

    can u make a tutorial to setup pb_ds also not able to do it

  • @astroop1528
    @astroop1528 8 місяців тому

    i am not able to find cpp.json file.

  • @Abc-me2cx
    @Abc-me2cx Рік тому

    my vscode is showing that warning for compiling stl like vectors, maps and saying they are c++ 11 how can I fix it please

  • @tanweerashif
    @tanweerashif Рік тому

    Is it M1 chip bro? I'm facing some issue in M1 chip Mac.

    • @tanweerashif
      @tanweerashif Рік тому

      And does the C++ debugger handle input well?

  • @daddysan4367
    @daddysan4367 Рік тому

    can you please give the template

    • @rishabhxchoudhary
      @rishabhxchoudhary  Рік тому

      #include
      using namespace std;
      typedef long long ll;
      #define int ll
      #define endl '
      '
      const ll mod = 1000000007;
      signed main()
      {
      ios_base::sync_with_stdio(0);
      cin.tie(0);cout.tie(0);
      int t;
      cin>>t;
      while(t--){
      }
      return 0;
      }