C++ Libraries For Beginners

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 92

  • @logandihel
    @logandihel 9 місяців тому +27

    Wish this got recommended 72 hours ago! I spent 4 hours trying to configure my CMake file in order to use a 3rd party library. Ended up doing the same thing as you!

  • @stonedchat
    @stonedchat 3 роки тому +42

    How tf did I not find this video 2 months ago when deciding which one to learn cpp or java... going back to cpp thanks to this single video! You won't belive how much I needed this video lol

  • @tanishsabne
    @tanishsabne 6 місяців тому +5

    never before had I been stuck on a programming hurdle for 3 days straight. I can finally continue my C++ journey after watching your video. There is no good tutorial on how to statically include C++ libraries using cmake other than yours.

  • @SuperGamingAli
    @SuperGamingAli Рік тому +128

    Using C libraries is a painful experience that I would never wish on anyone

    • @matticolo
      @matticolo Рік тому +5

      Too late 🥲

    • @savagemode2150
      @savagemode2150 Рік тому +21

      Cpp has been widely used for years and people still havent managed to create an straightforward package manager like cargo or npm, that sucks, if I didnt need to use winAPI and some cpp libraries I would NEVER touch this language, the ergonomics are just so bad

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

      ​@@savagemode2150vcpkg works decently

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

      vcpkg and its same as using pip

    • @F2p_gacha_addict
      @F2p_gacha_addict 3 місяці тому

      Too late bro I'm experiencing it

  • @sirdave48
    @sirdave48 10 днів тому

    I have watched several tutorials on this topic but none has helped me that much as this! Thank you very much for this valuable tutorial

  • @timurrte5694
    @timurrte5694 2 місяці тому +1

    Finally normal explanation. I spent a lot of time trying to setup g++ to compile a project of mine couple months ago that used gtk for GUI. Ended up with adding some unix util that produced list of libraries that are linked to compiler.

  • @waiitwhaat
    @waiitwhaat 3 роки тому +50

    This was a great video, and honestly, everything I needed. Now I know exactly why my C++ code has been acting funny. My code editor doesn't know the path to the header files! Also thanks for the explanation of the folder contents (SFML in your case). Cleared up a great deal for me.

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

    Thank you for making this so accessible for a dyslexic programmer! Keep the videos coming they are awesome!

  • @hetias
    @hetias 2 роки тому +4

    this is so helpful, i quite knew much of the explained but it clarified a lot more. anyway i'm surprised no mention of the linker, it makes most of the magic (and when we talk about libraries most of the errors!)

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

    Very good video. I've learned this stuff a while back but this is a very good refresher.

  • @nocturnalsea1640
    @nocturnalsea1640 2 роки тому +8

    Thanks boss, you saved me from going crazy.

  • @madhes23
    @madhes23 4 місяці тому

    The content quality is so good! I can't believe your channel has only ~1.5k subs. Your channel will blow up soon. All the best ❤

  • @superboy9431
    @superboy9431 3 роки тому +16

    This was an amazing video, Thank you very much! Also that frame at 0:21 perfectly depicts my experience so far haha.

  • @canisiobarth
    @canisiobarth 3 роки тому +1

    Thanks for the video. The vivado screenshot gave me chills 😂

  • @nikitawew6087
    @nikitawew6087 10 місяців тому +1

    thx helped soooo much

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

    Thank you for creating this video. This is extremely useful for me. Keep up the good work!

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

    Very understandable. Thank you. Im new in the cpp business

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

    Thanks for making this video 🧡
    You have helped me and others immensely

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

    very informative, i thought you'd have everything right away

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

    Amazing video bro!

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

    Two very useful videos:
    * Using static libraries: ua-cam.com/video/or1dAmUO8k0/v-deo.html
    * Using dynamic libraries: ua-cam.com/video/pLy69V2F_8M/v-deo.html

  • @AndreiSokolov-k7j
    @AndreiSokolov-k7j 11 місяців тому

    i didnt know that master oogwgay such good at programming! master, thank you

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

    Thanks for the video, it was clearly explained!

  • @Kristoff458
    @Kristoff458 5 місяців тому

    Thanks a lot for this.

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

    good vid mate

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

    Great video, very helpful!

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

    Thank you for the video!

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

    This is a fantastic video. Subbing.

  • @hengliang4344
    @hengliang4344 2 роки тому

    Yeah Thanks dude!!! You help me a lot!!

  • @code-to-learn
    @code-to-learn 2 роки тому

    Thanks for the video

  • @style1363
    @style1363 3 роки тому +3

    Whats the best program to use for C++ Coding , Do you recommend any Libraries? And the video was great thanks

    • @MichaelForestTechnologies
      @MichaelForestTechnologies  3 роки тому +3

      There isn't really a "best" program, a lot of it depends on what you prefer. :) - If you are new I would recommend using an IDE like "Visual Studio 2019" or "CLION", since it handles a lot of the confusing elements. I have used Visual Studio for a few years, and it works great. I am currently using the Text Editor "Visual Studio Code", and some extensions for programming c++ with cmake, mostly because I find it easier to get an overview that way (it is more tricky to setup though). - When it comes to libraries it really depends a lot on what you want to do. And you will more than likely need multiple libraries when working with more complex programs. One I often use is SFML, it is a multi media library that makes it relatively easy to do certain things, like graphics, audio and networking. It is handy to know how to use at least, and it has a very forgiving license, and pretty good documentation. (it is also the library I used as an example in the video) - Very glad you liked the video, thank you. :)

    • @brunoaugustorodriguesalves4080
      @brunoaugustorodriguesalves4080 2 роки тому

      @@MichaelForestTechnologies I'M HAVING PROBLEMS TO INSTALL DEAL II LIBRARY, DO YOU THING I CAN INSTALL THIS LIBRARY JUST WITH CMAKE IN WINDOWS ?

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

      Linux(all of it) is the best for coding, any of the major distributions will work fine, the differences are small [Suse-leap, Debian, Mint, Fedora, Arch, etc]. Linux has most of the tools all packaged and ready to go. Windows just makes it mysterious and complicated so everyone on Windows uses an IDE.
      On Linux I use a nice text editor like kwrite, and for C++ I manually compile in a terminal window ( example: clang++ main.cpp -o myExecutable [-o means output name, and you can use g++ in place of clang++])
      Another example: Python is default included with all of the major distributions so all you need is to type `python3` in a terminal and you will get interactive python. Or use any text editor save the file and run it with `python3 myPythonFile `
      (Or for an executable file, change file permissions to executable, make the first line of the script `#!/usr/bin/env python3` and run it with `//myPythonFile` )

  • @cosyschool
    @cosyschool 2 роки тому

    this was such a good video!

  • @icemotion1925
    @icemotion1925 3 роки тому

    Very helpful, thanks man

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

    In python, I can just use pip install...
    it can download all it's dependencies
    now, I got stuck in c++
    That I need to build it
    what I'm trying to install is PCL

  • @theowillis6870
    @theowillis6870 Рік тому +2

    couldn't you go through CMake though?

  • @HassanOmariprofile
    @HassanOmariprofile 2 роки тому

    amazing, thanks alot

  • @aquilafasciata5781
    @aquilafasciata5781 7 місяців тому

    Important to note; EVERYTHING is possible without libraries. A better word would be it isn’t FEASIBLE when things that are probably better than yours are already out there.

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

    6:03 feel free **

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

    THank you!

  • @Nuclear_Man_D
    @Nuclear_Man_D 3 роки тому +4

    VHDL??? I FEEL YOUR PAIN BRO. SO LONGGGGGGGG

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

    Thanks!

  • @immanueljzv6832
    @immanueljzv6832 2 роки тому

    I Love you🤧

  • @SquaresToOvals
    @SquaresToOvals 3 роки тому

    Oh my goodness thank you

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

    Helpful

  • @rede_neural
    @rede_neural 2 роки тому

    I'm trying to use vlc API and in the lib folder there are only .c files and .h files, what do I do with them?

  • @gandepranaya8618
    @gandepranaya8618 2 роки тому

    written a program
    But while compiling it shows that (error) studio. h:No such file or directory compliation terminated
    Is displaying
    Any solution
    What to do I am unable to understand

  • @overrevvv
    @overrevvv 2 роки тому

    Really awesome and well explained video, Thank you
    Can you make a separate video or tutorial for SDL2 for VS code ?

  • @bara7979
    @bara7979 2 роки тому

    Thank you

  • @mohammedzeebaree883
    @mohammedzeebaree883 3 роки тому

    you can write a abstract of (creating library)?

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

    So I should have just used vcpkg from the start huh
    Someone recommended me to use WSL for C but I could never get SFML to work in it -.-
    Now I'm with CLion and got it nearly working haha
    SOOOOO much frustration around this that just made me wanna give up

  • @aryansabetnejad3886
    @aryansabetnejad3886 3 роки тому

    Noice(the meme)
    Thanks bro

  • @3bdo3id
    @3bdo3id Рік тому

    Perfecto

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

    👍

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

    Bro,... I think you got something in your eye

  • @juridicalbike344
    @juridicalbike344 2 роки тому

    do some libraries have incompatible functions?

    • @bp42s56
      @bp42s56 3 місяці тому

      that’s why we have the scope resolution operator, ::

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

    No, you are completely wrong. ISS software is probably being written in js, because, why fucking not! awesome video btw, thanks

  • @ajayjadhav900
    @ajayjadhav900 3 роки тому

    How to include sub-directories in Visual Studio?
    I have to include many header files, which are in different sub-directories. Is there a way in Visual Studio (I am using 2013 edition) to set one include path that Visual Studio will search also the sub-directories for header files?
    My Project is in C/C++.
    Add the "base folder" to the project (project properties -> Configuration Properties -> C/C++ -> Additional Include Directories, "additional include directories")
    I have tried the above option but it is not possible for me to add each and every directory followed by a semicolon.
    I have total 60 + different C C++ sub-directories

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

    It took me two minutes to register the subtites were in Dutch

  • @basicallybrand
    @basicallybrand 2 роки тому

    doesn't work on mac

  • @digorroblox
    @digorroblox 9 місяців тому +1

    this would be good video if you werent louder in one ear than the other

  • @Jinjuanchen-df7tn
    @Jinjuanchen-df7tn 4 місяці тому

    Pls fix subtitles

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

    This is a good tutorial and very helpful. But please try to speak slower and/or more articulated. Sometimes its hard to follow you.

  • @axule4373
    @axule4373 2 роки тому

    666th sub :)

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

    You sound like we got no hopes coding c++

  • @ags2099
    @ags2099 28 днів тому

    digga vhdl ist gottlos

  • @chessly3
    @chessly3 3 місяці тому

    Thank you