Read And Store All File Lines Into A Vector | C++ Example

Поделиться
HTML-код
  • Опубликовано: 20 окт 2022
  • How to read and store all the lines in a file into a vector using C++. Source code: github.com/portfoliocourses/c.... Check out www.portfoliocourses.com to build a portfolio that will impress employers!

Комментарии • 18

  • @leythecg
    @leythecg 11 месяцев назад +2

    Another excellent tutorial! Content and presentation at its best! Thank you very much!

    • @PortfolioCourses
      @PortfolioCourses  11 месяцев назад

      You're very welcome, I'm glad you enjoyed it! :-)

  • @karibiro4945
    @karibiro4945 8 месяцев назад

    correct, strait! how it must to be done! thanks a lot!

  • @gabrieldias6430
    @gabrieldias6430 Год назад +3

    really nice video, thanks for sharing your knowledge

    • @PortfolioCourses
      @PortfolioCourses  Год назад

      You're welcome Gabriel, I'm glad that you enjoyed the video! :-)

  • @malekal_aedee4341
    @malekal_aedee4341 Год назад +1

    it worked! thank you so much!!

  • @lombard2125
    @lombard2125 11 месяцев назад

    Thanks a lot, a have't heard about the EOF method
    Appreciate your instructions😅

  • @amrholo4445
    @amrholo4445 Год назад

    Thanks a lot, sir

  • @dobcs3236
    @dobcs3236 Год назад

    Hi. Can i create owner library like OpenCV by c++ SLT only ?
    What do I need to learn that

    • @PortfolioCourses
      @PortfolioCourses  Год назад

      You could use the C++ STL to create something like OpenCV. OpenCV includes a number of functionalities, so you would very likely use more than C++ STL to implement it. The C++ STL isn't necessarily built to optimize performance, so you may want to re-implement data structures and algorithms yourself instead. There is a lot to OpenCV, before attempting to create something like that you would want to have a reasonably strong background in mathematics, algorithms, etc. Something like OpenCV is typically made by many individuals and not just one person, but it would be a great exercise to learn how some individual aspect of OpenCV works, like one function even, and then try to implement it yourself and understand it. :-)

    • @dobcs3236
      @dobcs3236 Год назад

      @@PortfolioCourses
      Can you explain to me a specific educational program?

  • @dark-ks9ww
    @dark-ks9ww Год назад +1

    Please sir can u give me some tips on how can i improve my logic skills in programming i can't solve programming problems i practice but i can't get any good at programming when i try to solve a problem i end up looking for the solution online

    • @PortfolioCourses
      @PortfolioCourses  Год назад +2

      I've started working on this playlist to help beginners that are struggling with programming in general: ruclips.net/video/RDvlJaeGqyU/видео.html. Most programmers that solve problems all day for a living "look for a solution online", that's why websites like Stackoverflow are so popular. :-) But I know what you mean, it's hard to solve "new problems" you've never seen before. If you do lots and lots of problems, especially if you do so over years and years, eventually even solving new problems becomes easier. What happens is that our brains recognize patterns in the problems, "oh this problem is like this other problem I solved except that...", and we get better at solving them. But it can take a long, long time to get there, and even then as programmers we'll always use Google/etc to help solve problems we haven't seen before.

    • @dark-ks9ww
      @dark-ks9ww Год назад

      @@PortfolioCourses thank you so much sir

    • @PortfolioCourses
      @PortfolioCourses  Год назад

      @@dark-ks9ww You're welcome! 🙂