Creating a new file in C++ (& appending) - Stream-Based I/O part 5 of n - Modern Cpp Series Ep. 195

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • ►Full C++ Series Playlist: • The C++ Programming La...
    ►Find full courses on: courses.mshah.io/
    ►Join as Member to Support the channel: / @mikeshah
    ►Lesson Description: In this lesson we take a look at std::ofstream, which is part of the fstream header. This time we will look at creating and appending to files using the streaming interface. Understanding that everything is a 'stream' and has some buffer below it is helpful in this lesson. Otherwise, pretty much everything we have learned can be used, and we can again navigate our own file streams that we create. We'll focus on writing out data, and making sure that we properly cast to the correct time in order to write out our data. As always, feel free to bring up any questions and discuss what you've learned!
    ►TH-cam Channel: / mikeshah
    ►Please like and subscribe to help the channel!
    ►Join our free community: courses.mshah....

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

  • @MyMineBlocky
    @MyMineBlocky 9 วันที่ผ่านมา +4

    Best C++ series on the platform and it's not even close

    • @MikeShah
      @MikeShah  9 วันที่ผ่านมา +2

      Cheers, thank you for the kind words 🙏

  • @derdere7803
    @derdere7803 6 วันที่ผ่านมา +2

    hey mike, really great tutorial. I said this before but thanks for putting all the effort. learning a lot from you.

    • @MikeShah
      @MikeShah  6 วันที่ผ่านมา +1

      @@derdere7803 cheers, thank you for the kind words!

  • @QWin-ir6yq
    @QWin-ir6yq 10 วันที่ผ่านมา +3

    A new cpp video, yay 🎉🎉🎉

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา +1

      Enjoy!

  • @VoidloniXaarii
    @VoidloniXaarii 10 วันที่ผ่านมา +2

    Ooo, new cpp vid 🎉🎉🎉🎉 Miketastik!!! 🎉

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา +2

      Cheers! 😁

    • @VoidloniXaarii
      @VoidloniXaarii 10 วันที่ผ่านมา +2

      @@MikeShah 干杯

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา +2

      @@VoidloniXaarii 🥂

  • @piergiorgiovalli5220
    @piergiorgiovalli5220 4 วันที่ผ่านมา +1

    Top Gun of C++

    • @MikeShah
      @MikeShah  4 วันที่ผ่านมา

      Cheers!

  • @nbasked
    @nbasked 10 วันที่ผ่านมา +1

    GOAT

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา

      Cheers!

  • @GaryChike
    @GaryChike 10 วันที่ผ่านมา +1

    A new D video .. oops .. a new cpp video, yay 🎉🎉🎉

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา +1

      😁Couple more C++ ones in the pipeline, then back to D, and OpenGL, and the rotation continues (often driven by teaching need)

  • @twenty-fifth420
    @twenty-fifth420 10 วันที่ผ่านมา +1

    Even when snacking, i learn something new about C++. So this is streaming data/commands like any language right and , and not just ‘touch main.cpp’ because when I first read it, it made it seem like it took us 190+ episodes just to open a file somehow. 😂 So serializing to io file stream?

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา

      Indeed! :)

  • @muhammadharris4470
    @muhammadharris4470 10 วันที่ผ่านมา +1

    5 of n 🤔?

    • @MikeShah
      @MikeShah  10 วันที่ผ่านมา

      There will be several more in regards to 'streams' (i.e. Instead of predicting there will be 8 videos, 'n' is a placeholder)