Using Xcode to write & run C and C++ Programs.

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 320

  • @madhurendratripathy
    @madhurendratripathy  4 ปีที่แล้ว +11

    Helpful Features of Xcode : th-cam.com/video/ZrtCnWFaFqM/w-d-xo.html

  • @srikarchowdary1483
    @srikarchowdary1483 3 ปีที่แล้ว +40

    no one on the internet did this type of video...i've been regretting for buying M1 MacBook pro as I can't run other c on it. thank you for helping!!

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +3

      I am glad that you found it helpful.

    • @aikagyanjitu
      @aikagyanjitu 3 ปีที่แล้ว +2

      Mee to bro...thats why I thanked him...

  • @RobertLee-i8k
    @RobertLee-i8k ปีที่แล้ว +4

    Madhurendra, this five minute video saved me hours of frustration. I am currently switching from Windows to Mac as a student and needed to figure out a simple way to finish C assignments, and this video made it possible. Thank you, and keep it up!

  • @anmolsidhu1387
    @anmolsidhu1387 3 ปีที่แล้ว +2

    Brooooo you saved meeee…….. i bought a macbook air M1 but from this year at school we started using c/c++ and i was impossibilated to download it on mac you saved me with this video bcz i was not happy of mac but now i am happy.

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      Hi Anmol Sidhu,
      Glad to hear that this helped you. I myself had faced similar issues when I started using a Mac for the first time & then almost 2 years later, I discovered that it could be done using Xcode 😂.
      Happy Programming!

  • @Rohit-yg5gp
    @Rohit-yg5gp 3 ปีที่แล้ว +10

    this was alot helpful man !! i was struggling from last 1 hour on how to add other c program file in the same folder and not get any error . THANKS ALOT

  • @logan56
    @logan56 3 ปีที่แล้ว +10

    Great way to explain how to get started in Xcode. Well done sir!

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 2 ปีที่แล้ว +15

    this is extremaly usefull ..I'm just starting out on C and programming all over. I've been using online C compilers becasue it seemed intimidating to use an IDE like this. But now after watching this video I can use Xcode with much ease and confidence. Thank you so much for sharing your knowledge.

  • @Jaztothelyn
    @Jaztothelyn ปีที่แล้ว +1

    I'm now ready to start learning C, thank you!!

  • @abdullaywourmonychol1626
    @abdullaywourmonychol1626 3 ปีที่แล้ว +1

    I have been regretting of why I bought mac book pro, because I can't run c programming in it and it is my first language in university, but now you've really helped me a lot thank you so much

  • @shuhua10
    @shuhua10 3 หลายเดือนก่อน

    I need to find an alternative to visual studio code for basic C coding. Xcode is perfect for this. You are god-sent!

  • @shubhpreetsingh5886
    @shubhpreetsingh5886 4 หลายเดือนก่อน

    That was it what I was looking for past 2 hours. Thanks for the video

  • @HenrySmith-i6d
    @HenrySmith-i6d ปีที่แล้ว

    I did not know how to run another c++ in the same project. That is very helpful for me.

  • @anson7466
    @anson7466 2 ปีที่แล้ว +1

    Thank you so much bro. I have been struggling for creating new files for hours!! Finally getting it done. Literally save my life!!!!❤

  • @SumitYadav6530roll
    @SumitYadav6530roll 3 ปีที่แล้ว +1

    Thanks bro sab log vs code mein c kaise install kare wala video bana rhe and they are so confusing. But here you comes as a thor 🐱 who saves from by giving me new term xcode . All thanks to you!!!!!👍 Keep up the good work

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      Glad you liked it, I will also try to come up with my version of VS Code soon, hopefully it will reduce your confusion.

    • @SumitYadav6530roll
      @SumitYadav6530roll 3 ปีที่แล้ว

      @@madhurendratripathy bro u are not on instagram? For queries?

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      @@SumitYadav6530roll I quiet didn't get your question.

    • @SumitYadav6530roll
      @SumitYadav6530roll 3 ปีที่แล้ว

      @@madhurendratripathy nothing

  • @karenwang313
    @karenwang313 ปีที่แล้ว

    Thanks for the help. I've been wasting too much time trying to get makefiles to work, so I figured I might as well try xcode.

  • @sukhbirsingh6023
    @sukhbirsingh6023 3 ปีที่แล้ว

    I was regretting to buy M1 Mackbook pro because I was unable to run code in vs code but this video helped me a lot.
    Thanks brother

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Glad that it was helpful.

    • @Jnoel608
      @Jnoel608 3 ปีที่แล้ว +1

      I just got my Mac, and I've installed Codelight, Eclips, and VScode and they all have their own issues running C++. All the work around is a pain.

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +2

      @@Jnoel608 Will try to bring up a video on VScode soon. I think it is a good editor, you can use it for almost any language with the help of extensions in the VS Code store.
      Basically for me its my like my goto all in one editor for many languages like Java, Python, Web Dev using different frameworks like Django & MEAN stack, editing xml files, json files, terraform scripts, helm charts, comparing two files and many more such things...

    • @SumitYadav6530roll
      @SumitYadav6530roll 3 ปีที่แล้ว +1

      @@madhurendratripathy sir pls make a video on vs code on macbook m1. There are so many users who are confused for installation vs code and its libraries for all languages including me .

  • @aswins2249
    @aswins2249 8 หลายเดือนก่อน

    thanks brother, solved a lot of anxiety.

  • @riteshramkumar7074
    @riteshramkumar7074 3 ปีที่แล้ว +4

    Thank you so much ,Explained effortlessly

  • @damodarkammili9494
    @damodarkammili9494 2 ปีที่แล้ว

    Bro please continue this process of your work into this, this one be the nice

  • @youngjunjoo8575
    @youngjunjoo8575 2 ปีที่แล้ว

    Thank you for the post Madhurendra!

  • @yashasviyadav2003
    @yashasviyadav2003 2 ปีที่แล้ว +1

    Thank you brother was looking for this type of explaination from a long time. ❤️❤️

  • @patricklandia1
    @patricklandia1 8 หลายเดือนก่อน

    Thanks for helping me, thanks a lot from Uruguay!

  • @flocela
    @flocela ปีที่แล้ว

    I like your desert landscape!

  • @nakulpandit352
    @nakulpandit352 3 ปีที่แล้ว

    Wow man!
    Thats the way I wanted someone to explain it to me.
    Just Great, all the coments are 100% true.
    Do keep on making videos like this...

  • @ashutoshjha7224
    @ashutoshjha7224 2 ปีที่แล้ว

    Thanks bhaiya , your videos are very helpful .

  • @Niiabee
    @Niiabee ปีที่แล้ว

    Thank you soooooo very much. This was quick and easy to understand. Cheers!

  • @aadarshraghuwanshi7022
    @aadarshraghuwanshi7022 3 ปีที่แล้ว

    I was frustrated as i was not familiar with the xcode and couldn't use C-language , than you for the help ❤️

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว +1

      Glad I could help! Thank you :)

    • @aadarshraghuwanshi7022
      @aadarshraghuwanshi7022 2 ปีที่แล้ว

      @@madhurendratripathy please keep it up bro , you're helping out so many people.

  • @mymath1313
    @mymath1313 2 ปีที่แล้ว

    wow! this helped me a lot... I could not download the version of codeblocks on mac so now i can do the same on xcode..

  • @khagendrakatuwal9192
    @khagendrakatuwal9192 ปีที่แล้ว

    Thanks Man !! you did a great job !! It help a lot

  • @kalyanjoy9380
    @kalyanjoy9380 ปีที่แล้ว

    after so much of struggling I found you ,thank you brother could you please start a tutorial on c language ? it will help the begginer like me..

  • @mooahkim5434
    @mooahkim5434 ปีที่แล้ว

    It was very useful! Thank you so much!

  • @_kaur5806
    @_kaur5806 2 ปีที่แล้ว

    well done bro its so help full

  • @BrunoSantosX
    @BrunoSantosX 3 ปีที่แล้ว

    Thanks a lot for tips and tricks about Xcode.

  • @shrirambalaji2109
    @shrirambalaji2109 3 ปีที่แล้ว +1

    Thank you brother for sharing, it indeed helped me.

  • @movieyouser
    @movieyouser 2 ปีที่แล้ว

    Thanks mate, mine was giving me errors the whole time and now I know why!

  • @hrishikesh-k9
    @hrishikesh-k9 2 ปีที่แล้ว

    such a informative video sir nice explanation keep it coming sir...👍🏻👍🏻

  • @summerhuang396
    @summerhuang396 2 ปีที่แล้ว

    quick and easy to understand! thank you!

  • @Rajesh-vw4es
    @Rajesh-vw4es 3 หลายเดือนก่อน

    Thanks for the Help bro

  • @suryamanswain522
    @suryamanswain522 2 ปีที่แล้ว

    hey tripathy, i would really like to know about productivity, boosting tips & tools

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว

      Hi suryaman swain,
      Will surely try to bring it to the channel.
      Thanks for the feedback. 🙂

  • @sambitmeher9465
    @sambitmeher9465 3 ปีที่แล้ว

    Thank you so much bhaiya this helped me a lot

  • @class_shift
    @class_shift 2 ปีที่แล้ว

    YOU ARE AMAZING THANK YOU!!!!!!!!

  • @helfrae
    @helfrae 3 ปีที่แล้ว +3

    Omg 😭😭😭 thank you so much... You are the answer to my prayer...
    I’ve been looking for a solution how will I make code in my mac, because codeblocks really don’t work and don’t run even the hello world program 😭 Continue making videos... 🙏🏻 May God Bless you!

    • @jp0758
      @jp0758 3 ปีที่แล้ว +1

      same here i was going crazy, thank you so much

  • @kashifulqamar662
    @kashifulqamar662 3 ปีที่แล้ว

    great video sir ,keep up the great work👍🏻

  • @TUSHAR-ze5mu
    @TUSHAR-ze5mu 3 ปีที่แล้ว

    Very well explained brother.Nice job🙏🏻🙏🏻

  • @nipundahiya9705
    @nipundahiya9705 2 ปีที่แล้ว

    Thank you bro for this love u

  • @SDE_M.sameem
    @SDE_M.sameem 2 ปีที่แล้ว +1

    Can u please make a tutorial on "How to download gcc compiler on m1 Macs".

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว

      Hi 20DPCO200_M. Sameem,
      This is how you can do it in the easiest way :
      1. Install HomeBrew using command given below, by running it in the terminal :
      /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
      If you need a video guide to installing HomeBrew you can watch my video : th-cam.com/video/i0DFPySAMTA/w-d-xo.html from the timestamp : 2:45 to 4:13
      2. After successfully installing homebrew, run the command mentioned below in terminal :
      brew install gcc
      Now sit back & relax and let HomeBrew install gcc for you. It is smart enough to detect your machine as an Apple Silicon based machine & install gcc for Apple Silicon.

  • @jatiin
    @jatiin 2 ปีที่แล้ว

    thank you so much, really appreciate the on point explanation!

  • @messi72218
    @messi72218 2 ปีที่แล้ว

    Very informative

  • @gunishswarnkar617
    @gunishswarnkar617 3 ปีที่แล้ว

    really helpful😃

  • @amanrubey
    @amanrubey 3 ปีที่แล้ว

    Please make the command line args video you were telling about

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว +1

      Sure, will definitely consider your feedback! Thanks :)

  • @jokuzy
    @jokuzy 2 ปีที่แล้ว

    Thank you, this was very helpful!

  • @philippl1560
    @philippl1560 2 ปีที่แล้ว

    thank u man, that was helpful!

  • @shvmmm3987
    @shvmmm3987 3 ปีที่แล้ว +1

    if I install xcode ..i do not need to install any compiler or code editor ?

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Xcode comes bundled with Xcode-command line tools which includes Clang compiler. Clang is a compiler for the C, C++, Objective-C, and Objective-C++ programming languages & is compatible with GCC, you can still opt to use GCC based compilers if you want to.
      You can learn more about Clang here : en.wikipedia.org/wiki/Clang
      If you chose to install GCC compiler, may be this guide can help you : www.cyberciti.biz/faq/howto-apple-mac-os-x-install-gcc-compiler/
      Coming to code editor, its your choice, you can either use Xcode or get any other editor or you can pick both of these options. Editing/Writing code in Xcode is a good experience, especially for C & CPP, I think it is a really good editor and the debugging in Xcode is quite amazing. I have talked more about it in my Helpful features of Xcode video. But for working on other technologies like Python, Web Development & Shell Scripting etc.. I personally use VS Code as it provides a better experience.
      I would suggest that you try different editors and stick with the ones that you find the best for your use cases.
      Happy Coding :)

    • @shvmmm3987
      @shvmmm3987 3 ปีที่แล้ว +1

      ok thanks bro
      ...i have to do c++ only so i will install xcode

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      @@shvmmm3987 Sure that will do it then.

  • @bahauddinchishte
    @bahauddinchishte 2 ปีที่แล้ว

    3:49 char str_name [100]; (what is the meaning of 100 here bro and what is the name of this concept?

  • @bisulfate
    @bisulfate 2 ปีที่แล้ว

    Very helpful video, is there anyway we can rename the main function that is created ?

  • @marksardar1890
    @marksardar1890 3 ปีที่แล้ว +2

    Great Video, straight to the main point.
    Can I add more than one file and execute it? When I tried, I am getting a "build failed" message. What might be causing this ?

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Hi Mark Sardar,
      I have demonstrated how we can write different individual programs under the same Xcode project (parent folder) but under different individual program directories from 3:54 ( th-cam.com/video/_cDXKReugEU/w-d-xo.html ) in my video, if you meant that you want to have all the programs/code files under one directory, to my understanding that is not possible in Xcode because, Xcode uses something called as 'target' and one target cannot have multiple files with main( ) function mapped to it, if we try to do run a program with multiple main( ) functions it throws build failed error with a message stating "duplicate symbol '_main". If you wish to have multiple program file in same directory, I would suggest you to use some other IDE like VS code or Atom. I have already made a video on how to use Atom on macOS(th-cam.com/video/i0DFPySAMTA/w-d-xo.html) & will try to make a video on VS Code, soon.

    • @marksardar1890
      @marksardar1890 3 ปีที่แล้ว +1

      @@madhurendratripathy Thank you for taking your time and reply. Yeap, I was trying to put multiple MAIN() files under the same folder and it doesn't work, since you already know it won't work, that makes sense.
      I have watched your Atom video and it was GREAT ! I also have tried VSCODE; however, I think it may have some glitch cuz when I ran multiple lines for code, VS code just says "running" without any output on the console. The exact same code works on xCode and CodeRunner perfectly fine.
      My only complaints about the xCode is, it's a HUGE file and given the HDD of a Macbook, it's just too much :-(
      Great Videos and keep up the good work :)

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      @@marksardar1890 Can't agree more about the size of Xcode, but the fact is that it is not made for C & C++ Command-line tools development, instead it is built for building apps for all the Apple Eco System of products. I even made fun of Xcode's huge size in my Atom on macOS vwelldevelopment

    • @marksardar1890
      @marksardar1890 3 ปีที่แล้ว +1

      @@madhurendratripathy yeap, I noticed that on your Atom video. My Macbook in only 250GB, so that size of xCode, which is 20+ GB is a dealbreaker for me. Also, since Macbook HDD is NOT possible to upgrade, I try my best to avoid any large files/programs.
      I have purchased CodeRunner, which can run C/C++ and many other codes. I wasn't aware of Atoms capability but I will follow your video and try to make it work.
      I appreciate your video, it was helpful for me.

  • @piyushdahiya6320
    @piyushdahiya6320 2 ปีที่แล้ว +1

    in output it is showing lldb what should i do ?🧐

  • @shounak5973
    @shounak5973 3 ปีที่แล้ว

    Love u brother ❤️

  • @Magamb3723
    @Magamb3723 3 หลายเดือนก่อน

    hey there. I am trying to compile and run but it shows only grey in console after I press command + r. also after I pre command + r for a second an text appears on console saying "waiting to attach" and after only grey.

  • @juangarciez9771
    @juangarciez9771 2 ปีที่แล้ว

    bro you are awesome

  • @veerverma9031
    @veerverma9031 6 หลายเดือนก่อน

    very helpful....

  • @Amansingh-nl4ev
    @Amansingh-nl4ev ปีที่แล้ว

    Can you please help me, with whats the alternative of getch() as this getch is not taken by xcode .

  • @aikagyanjitu
    @aikagyanjitu 3 ปีที่แล้ว

    Thank you Madhuendra..

  • @Sina-kh6ip
    @Sina-kh6ip 2 ปีที่แล้ว +1

    Hello i run a c program in xcode its build successfull, but its also shows that “could not launch (programs name)” LLDB provided no error strings. When i tried my cose in online compiler its totally works. Do you know how to solved this?? 🙏thx

  • @hruday6579
    @hruday6579 2 ปีที่แล้ว

    Thank you very much Bro😄

  • @jasonboyd782
    @jasonboyd782 ปีที่แล้ว

    Since when was Xcode preinstalled on Macs? I've never seen that.

  • @rishabhmishra4663
    @rishabhmishra4663 3 ปีที่แล้ว

    this video made me subscribe your channel AMAZING really helpful

  • @RR-ok4wz
    @RR-ok4wz 3 ปีที่แล้ว +2

    This was so helpful. Thank you!

  • @kushpatel295
    @kushpatel295 3 ปีที่แล้ว

    bro it was amazing video !.....can you share how to setup python on Xcode

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      Hi Kush Patel,
      Sorry for the late reply, it is not really ideal to code in python using Xcode, I have personally never tried it, as there are many other better IDE options for programming in python. I personally use “Spyder”, “VSCode” & sometimes “Jupyter” but there are many other popular IDEs in the community like “pycharm”, “sublime text”, “atom” etc.. I would also suggest you to try one of these IDEs for python. I have already made a video on how to use Atom on macOS but I have not showed how to run python, but it is simple, just create a file with extension “.py” and run it in terminal using “python or “python3 ”.
      Now this doesn’t mean that you cannot use Xcode to build python programs, it is quiet a task, but if you want to try it, go ahead, follow the steps described here : www.macinchem.org/reviews/xcode/pythonxcode.php
      If you face issues let me know I will help you,
      One issue that you might face is
      Q. How to know where is your python env variable pointing to ?
      Ans : Run "where python" in your terminal & you the path will be displayed, if you get more than one paths that means you have multiple python versions installed on your system, probably python2.x & python3.x, to decide which on is 2.x.& which one is 3.x just copy the displayed path from the output and paste it in the terminal, hit enter & you will see that a python shell opens showing the python version, accordingly you can select which python path to use.

  • @jaimanglamai3892
    @jaimanglamai3892 2 ปีที่แล้ว

    Nice guidence

  • @tanapornjankeaw9461
    @tanapornjankeaw9461 ปีที่แล้ว

    Thank you very much🙏🏻😆

  • @aakashsrivastva3593
    @aakashsrivastva3593 3 ปีที่แล้ว

    Hy can you please make a video on how to set up VS code on macbook for c programming

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Feedback noted, will try to bring it out as soon as possible.

  • @saisiddeshmamidoju1728
    @saisiddeshmamidoju1728 2 ปีที่แล้ว

    Hey!!! This was very helpful. Can you write multiple programs in your " myPrograms " folder?????

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว

      Hi Sai Siddesh Mamidoju,
      We wont be able to do that as the Xcode Project will now see 2 main functions in same folder and get confused with which one to use.

  • @sakshamjaiswal7459
    @sakshamjaiswal7459 3 ปีที่แล้ว

    That how to create a new c program under same project was very helpful.
    And is it possible to make a new c program file under same project and also under same folder ?

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Hello Saksham Jaiswal,
      Glad that you the video helpful, to answer your question, in the past, I have been there where I added another file in the same folder but later I was unable to run the programs, so I think it is not possible to add and run more than one program in the same folder.

    • @sakshamjaiswal7459
      @sakshamjaiswal7459 3 ปีที่แล้ว

      @@madhurendratripathy yeah ig we can't have two main functions under same folder

  • @rakshikachellymuthurman5180
    @rakshikachellymuthurman5180 2 ปีที่แล้ว

    mordern bahuballi is you, Thank you bro!

  • @aakashsrivastva3593
    @aakashsrivastva3593 3 ปีที่แล้ว +1

    See i am a student of btech first year and i am having macbook air 2020 so is X code capable for all the c language programming

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Yes it is definitely capable for almost all of the tasks you would do in your college life, especially if you are specifically concerned about C, don't worry it will easily handle it.

  • @ranathedev
    @ranathedev 2 ปีที่แล้ว

    Thank you, man!

  • @benwinstanleymusic
    @benwinstanleymusic 2 ปีที่แล้ว

    Really useful, this is exactly what I was looking for, thank you sir!

  • @subramanianvenkataraman8150
    @subramanianvenkataraman8150 3 ปีที่แล้ว +1

    Thanks a ton mate. Was really useful.

  • @demerion
    @demerion 3 ปีที่แล้ว

    Please make more videos!

  • @rugghero
    @rugghero 3 ปีที่แล้ว +1

    Hi! Can u please help me? Idk why when I run a program, its still VERY slow to run, (just like your first run on the video). what can I do? :(

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Hi Rugg Hero,
      Is that delayed run happening even during your second attempt to run the program?

    • @rugghero
      @rugghero 3 ปีที่แล้ว

      @@madhurendratripathy yes. During ever single attempt I try

    • @rugghero
      @rugghero 3 ปีที่แล้ว

      @@madhurendratripathy Every time I pressed cmd+R , I took like 30 seconds to see the output

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      Are you on the latest version of Xcode, if not, consider updating it and then retry.

    • @rugghero
      @rugghero 3 ปีที่แล้ว

      @@madhurendratripathy i will check. Thanks

  • @deepesrt1533
    @deepesrt1533 ปีที่แล้ว

    How i can run my whole project?
    When i try to run my project it always run the first file not the other file.

  • @vaibhavgaur5341
    @vaibhavgaur5341 3 ปีที่แล้ว

    helpfull Vedio

  • @derek2554
    @derek2554 3 ปีที่แล้ว

    thaks a lot buddy ☺

  • @OmarEssam-qm9jz
    @OmarEssam-qm9jz 3 ปีที่แล้ว

    Thanks alot man that was awesome.
    But i am just facing program making functions in c it doesn’t get called any tips plz?

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      Hey Omar Essam7859,
      Calling functions should not cause any issue, can you please share what is the error that you see along with the syntaxes that you have been using for function declaration & calling.

    • @OmarEssam-qm9jz
      @OmarEssam-qm9jz 3 ปีที่แล้ว

      #include
      #include
      #include
      int fact(int a){
      int s;
      int sum=1;
      for(s=1;s

    • @OmarEssam-qm9jz
      @OmarEssam-qm9jz 3 ปีที่แล้ว

      There was no error but it just stops working and whenever i create a function
      It just keeps running until the line where function is called in main and doesn’t give me any output just keeps running with no output

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +1

      @@OmarEssam-qm9jz For the first run give it some time, like I had said in the video, the first run takes some time & after that runtimes are very low & good, its just that for the first run, it takes some time.

    • @OmarEssam-qm9jz
      @OmarEssam-qm9jz 3 ปีที่แล้ว +1

      Ok thank you so much

  • @DevlogBill
    @DevlogBill 2 ปีที่แล้ว

    As a beginner should someone begin by learning C or C++ ?

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว

      Hi William Castro,
      I think C/C++ are very good languages to begin with, I personally started learning C as a beginner & then learnt C++ (Typical college way of teaching/learning here in India).
      Yea, it is a fact that these languages are a little more "code writing" when compared to languages like Python, but the granular level controls these languages provide (For Ex : Micro managing the Memory) are worth learning. Also not to forget that these languages are very widely used even today for various big projects.
      In-fact I think learning other languages, after learning C/C++ is way easier when compared to going the other way around.
      Hope this helps..
      Happy Coding.

  • @harshpadsala5128
    @harshpadsala5128 3 ปีที่แล้ว

    Thanks brother😊

  • @erikanil
    @erikanil 3 ปีที่แล้ว

    Is the mac book m1 air base variant enough for programming in c, python,java etc?

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว

      Hi Erik Anil,
      Yea, for basic programming, I think that M1 MacBook Air is a really good machine.
      I am personally now using a M1 MacBook Air but with 16GB of RAM/Unified Memory & it is serving me really well.
      Also not to confuse you, when I say basic programming it covers almost everything that a college student or an early professional might do. At-least on the programming side, unless you are planning to build Enterprise level applications, I personally don't think that you will need a M1 Pro or M1 Max machines.
      Also just a heads up, 8GB of RAM/Unified Memory should be sufficient for most of the tasks, but if you are planning to either have a few virtual machines running or planning to use your machine for a very long period of time (may be upwards of 4 years) then I would recommend getting the 16GB RAM/Unified Memory variant iff your budget allows it.

  • @erickarias7619
    @erickarias7619 2 ปีที่แล้ว

    How to custom window with C++ in XCode?

  • @91dgross
    @91dgross 2 ปีที่แล้ว

    better to use Xcode in order to have access to the command line tools but better to use other IDE for building programs, yes?

    • @madhurendratripathy
      @madhurendratripathy  2 ปีที่แล้ว

      Hi 91dgross,
      You can follow this approach, but if you only need Xcode Command Line tools, you don't have to install the complete huge sized Xcode for it. You can simply install Xcode command line tools from Apple's Dev Website and its size will be around 500MB.
      Link to website : developer.apple.com/download/all/?q=Command%20Line%20Tools

  • @puneetdwivedi796
    @puneetdwivedi796 2 ปีที่แล้ว +1

    Bro i m only getting the option edit scheme new scheme manage scheme

  • @mridulanand10
    @mridulanand10 3 ปีที่แล้ว

    Thanks buddy, I subbed you
    I Just have one doubt is coding in vs code and x code the same? I mean can Xcode run every c/c++ programs , so that I don't head back to vs code as in M1, I'm facing problems coding on vs.

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว +2

      Hi @Mridul Amanda,
      Yes you can use Xcode to write and run C & C++ programs without any issues.

    • @mridulanand10
      @mridulanand10 3 ปีที่แล้ว +1

      @@madhurendratripathy tysm so much bro🤝

  • @Tarunrana9759
    @Tarunrana9759 3 ปีที่แล้ว

    Bhaiya G mere MacBook version 10.11.6 ha apna MacBook version update kaise kru???? Plz reply

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      Hi Mr Taranveer,
      If you meant to ask how you can update Xcode on your Mac, you can go to AppStore and search for Xcode there, if there is an update available for your machine, you should see an update button, click on that & you should be good to go. Note that Xcode is pretty huge in size and hence updating it might take some time based n your internet connection speed.

  • @ayishafrz6260
    @ayishafrz6260 3 ปีที่แล้ว

    Thank you soo muchh

  • @SDE_M.sameem
    @SDE_M.sameem 2 ปีที่แล้ว +1

    Thannks man!!!

  • @SwapnilRaj-uv5gm
    @SwapnilRaj-uv5gm ปีที่แล้ว

    is xcode does not support mutliply()?

  • @sumanthtechinteluguu
    @sumanthtechinteluguu 3 ปีที่แล้ว

    U r super bro🙂🙂

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      🙃

    • @sumanthtechinteluguu
      @sumanthtechinteluguu 3 ปีที่แล้ว

      @@madhurendratripathy bro xcode free or purchase

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      @@sumanthtechinteluguu Xcode is free & you can download it from the AppStore, but the download size is huge(Around 12.5 GB).

    • @sumanthtechinteluguu
      @sumanthtechinteluguu 3 ปีที่แล้ว

      @@madhurendratripathy bro java (coding language) using free or purchase

  • @4352sfs
    @4352sfs 3 ปีที่แล้ว +1

    Thanks for the video!! How is you xCode transparent? Mine looks solid gray and doesnt show the background like yours...

    • @madhurendratripathy
      @madhurendratripathy  3 ปีที่แล้ว

      Hey Fer Sanches,
      I have personally never configured Xcode to look that way, I think it is the default settings of macOS Big Sur & Xcode.
      I am currently running macOS Big Sur Version : 11.2.3(20D91) & Xcode Version 12.4 (12D4e). These are the latest versions available, try updating to the latest versions if you haven't already.

  • @sauravsubedi925
    @sauravsubedi925 2 ปีที่แล้ว

    Thanku bro💥

  • @mohammadhijbullah1868
    @mohammadhijbullah1868 11 หลายเดือนก่อน

    thank you so much