printf Basics | C Programming Tutorial

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

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

  • @samdavepollard
    @samdavepollard 8 หลายเดือนก่อน +6

    pretty much a master class in how to make a coding tutorial
    no lame attempts at humour, no annoying music, no gangster impressions, just 100% meaty, informative content
    many thanks for sharing your knowledge

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

      You’re very welcome, and thank you for the positive feedback too! :-)

    • @CPDx-rd5sl
      @CPDx-rd5sl หลายเดือนก่อน

      Also huge font, black on white, no distractions, minimum copy paste..dude ain’t afraid to type..
      top quality content

  • @semihaturkoglu
    @semihaturkoglu 11 หลายเดือนก่อน +1

    I found this channel by chance. the videos are incredibly informative, I feel very lucky

  • @TheOleHermit
    @TheOleHermit 6 หลายเดือนก่อน +1

    Best 'printf' demo video I've seen.
    Tried for days, always failed, gave up. and fell back to using 'print'
    Now, I understand why it was failing and am ready to have another try.
    Thanks!

    • @PortfolioCourses
      @PortfolioCourses  6 หลายเดือนก่อน +1

      You're very welcome, I'm so glad to hear it was helpful for you! :-D

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

    At 2:54, I just put in an extra pair of quotation marks (" \" ") and the compiler in Visual Studio appears to have accepted it.
    First pair of quotation marks begins the string.
    Second pair of quotation marks is used with the forward slash to input (") in the string.
    Third pair of quotation marks closes the string.
    At least that's how I'm seeing it.
    I was trying to understand pointers in a different video for Data Structures. I was so impressed with your explanation of it that I decided to watch your videos from the very beginning to perhaps sharpen and reinforce what I already know, and perhaps learn a few things that I may have missed. What's also nice is that I'm learning a whole new programming language in C which is an added bonus.

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

      Yes, how you're seeing it is exactly right! :-D And thanks for telling me that about the pointers video Philip, I appreciate the positive feedback and I hope you enjoy the videos. C is a really fun language to work with and learn!

  • @OsamaIbrahim-fw8jl
    @OsamaIbrahim-fw8jl ปีที่แล้ว

    Thank again the introduction of c is interested

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

    at 10:02 you say the float gets promoted to a double. when the program is compiled does a float variable actually store 8 bytes instead of 4?

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

    Thanks a lot. This is really helpful

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

      You're welcome! I'm glad to hear it is helpful to you! :-D

  • @OK-ri8eu
    @OK-ri8eu 2 ปีที่แล้ว +1

    Thanks for the video really cleared some things for me, also what text editor are you using if you don't mind me asking?

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

      In this video I'm using Visual Studio Code. In some videos I used Xcode on a Mac instead. 🙂

  • @giovannidonato-iz8xr
    @giovannidonato-iz8xr 9 หลายเดือนก่อน

    HELLO one question please I found this line in a video PrintFormat("PrintFormat(EMPTY_VALUE) = %e",EMPTY_VALUE); and it is a value of 214283....... etc but what is it for and when to use it, thanks in advance

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

    Always perfect 😊

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

    Hello ,How to Compute student Average Grade base on the formula: Average Grade= (prelim+midterm+finals)/3 plz help me

  • @USAmerica-777
    @USAmerica-777 2 ปีที่แล้ว

    Hello! have you made a video on printing data from a file into a table with precision and formatting. Your videos have helped me a lot. Thank you!

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

      I'm really glad to hear the videos have helped you out! 🙂 I have not made a video on exactly that topic, but I've made videos that involve similar concepts, for example:
      th-cam.com/video/HQNsriyMhtY/w-d-xo.html
      th-cam.com/video/Oa_ji3dDFew/w-d-xo.html
      th-cam.com/video/X-1qodkHCHo/w-d-xo.html
      th-cam.com/video/rbVt5v8NNe8/w-d-xo.html
      th-cam.com/video/1OZMcC0euic/w-d-xo.html (the last half of the video has an example of creating a nicely formatted table)

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

    Thank you very much

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

    How can we output a negative number?

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

      Great question Tim! :-) This should work:
      int number = -5;
      printf("number: %d
      ", number);

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

    ❤❤

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

    whatever anything before or after or anything

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

    Thanks Bro, I didnt know I can make my code looks nice with this

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

    helpful

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

      I'm glad it was helpful for you Kobla! 😀

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

    8:24

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

      Is there something at this point in the video that you have a question about? 🙂

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

      @@PortfolioCourses sorry was using it for later lol

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

      Oh haha that's cool no worries :-)

  • @mauroymgch339
    @mauroymgch339 5 หลายเดือนก่อน

    seg 12 ago 2024 17:26:56 -04

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

    thanks sir but u forget this
    x = printf("hii"); i.e counting of number of successful input entered by user .
    By the way awesome session Love ❤❤❤ from INDIA

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

      Thanks Monu! :-) I think it’s scanf() that returns that, printf() will return the number of characters output.

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

      @@PortfolioCourses i think yeah sir printf() total no of character input and scanf() total no of successfull inputs...

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

      @@PortfolioCourses thanks for correcting me