Video není dostupné.
Omlouváme se.

File modes, fgets, fputs, fgetc, fputc & more on C file handling: C Tutorial In Hindi #67

Sdílet
Vložit
  • čas přidán 18. 06. 2019
  • In this series of C programming in hindi tutorial videos, I have explained you everything you need to know about C language. I hope you are enjoying this C in Hindi course.
    ►This C Lecture is a part of this C Programming Course: • C Language Tutorials I...
    ►Source Code + Notes: codewithharry....
    ►Click here to subscribe - / @codewithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Learn Python In Hindi ...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithha...
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

Komentáře • 304

  • @RohanDasRD
    @RohanDasRD Před 5 lety +75

    My friends who are learning c are amazed by your teaching technique

  • @Official_jp_coder
    @Official_jp_coder Před rokem +10

    your learning skill is very -very nice me understand your help to me marks in get 97.87 percentage in c language BCA first year

  • @uniqueelsa5959
    @uniqueelsa5959 Před 3 lety +124

    When I started following Harry bro I stopped worrying about bunking college 😂😂
    I'm pretty sure that I could learn better from you than I do from my teacher!

    • @vishalkarmakar418
      @vishalkarmakar418 Před 3 lety +5

      Me also shall i bunk now pls give advice
      🤣🤣🤣

    • @sachinchaudhary1771
      @sachinchaudhary1771 Před 2 lety +4

      Main toh college ab sir masti ke liye jata hu kyuke pta hai sab kuch Harry bhai se hi smj aata hai muje toh 😂

    • @apurvakumardani172
      @apurvakumardani172 Před 2 lety +1

      Self study is important 😅

    • @GAMINGWITHROYALFORCE
      @GAMINGWITHROYALFORCE Před 2 lety

      Mere to collage me c k liye koi teacher he nahi hai 😂 Harry bhai zindabad

  • @alishagupta8611
    @alishagupta8611 Před 3 lety +150

    Now, no one can complain that I didn't have any elder brother or sister in the engineering field to guide me or clear my doubts. I proudly say to everyone "Apne Harry Bhaiya hai na, koi tension nahi hai."

  • @fardantayyab3199
    @fardantayyab3199 Před 3 lety +138

    This guy deserves a cut from my semester fees

  • @AMOHAMMEDASIMMOHIUDDIN
    @AMOHAMMEDASIMMOHIUDDIN Před 3 lety +13

    My Lecturer is Explaining This Topic Since 4 days. Did'nt understand a single word. After This video everything is Fine and well :)

  • @heeru379
    @heeru379 Před 3 lety +71

    Fputs = writing string in the file.
    Fgets = reading the string from the file.

  • @riturawat77
    @riturawat77 Před 5 lety +65

    Hard work is appreciated 👌😊

  • @AliAbbas-vf4my
    @AliAbbas-vf4my Před 3 lety +24

    Hello Sir,
    I am from Pakistan. I am very thankful to you. Your hard work and your techniques helped me very much. I started the programming from this channel and now i am working as an internship.
    Thank you So Much...!

  • @abhinayjangde
    @abhinayjangde Před 3 lety +12

    16:49 fputs ka Bhai hai.

  • @SahilKumar-ni7su
    @SahilKumar-ni7su Před 4 lety +8

    thanks laot😍understood everything

  • @yug3839
    @yug3839 Před 5 lety +8

    Thanks a lot Harry !!!!!!!!

  • @pammysingh6526
    @pammysingh6526 Před 3 lety +8

    What about fwrite, fread, rewind, fseek, SEEK_CUR, SEEK_END, SEEK_SET, ftell and low level I/O

  • @shivani_raul
    @shivani_raul Před 3 lety +8

    The best tutorial 🔥

  • @rvishal528
    @rvishal528 Před 2 lety +1

    dil se thankyou harry sir.❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @syedammarali108
    @syedammarali108 Před 4 lety +10

    Sir, please make one more video on I/O Files and include fseek(), frewind(), ferror(), ftell(), feof() and more and graphics also.
    My exams are near so please upload as soon as possible.

    • @196_mindserenade6
      @196_mindserenade6 Před 4 lety +1

      Sir plz make video on File I/O fseek(),frewind(),ferror(),ftell(),frog() and more features..

    • @sb_infi
      @sb_infi Před 3 lety +1

      @@196_mindserenade6 Net seh dekhle na...

  • @Pro_Gamer_Boys
    @Pro_Gamer_Boys Před 3 lety +3

    Sir all doubts clear tysm sir😍

  • @rohit1770
    @rohit1770 Před 3 lety +7

    Best explanation of File I/O on CZcams ❤️

  • @Official_jp_coder
    @Official_jp_coder Před rokem +1

    nice to learn me your better learnoing skill your is

  • @hritikshukla1219
    @hritikshukla1219 Před 3 lety +2

    Sir your all vedio are interested in study thank you 😊 sir

  • @DeepakGupta-oc7sp
    @DeepakGupta-oc7sp Před 4 lety +2

    thanku bro hmko nhi pta tha ki get ka means prapt hota hh

  • @rohitsengar100
    @rohitsengar100 Před 3 lety +1

    I'm fan of your lucid style of description.

  • @lakshita436
    @lakshita436 Před 6 měsíci +1

    19:55 code in visual studio 👍

  • @manishmishra8911
    @manishmishra8911 Před 5 lety +2

    Thank you

  • @subhashreesahu692
    @subhashreesahu692 Před 11 měsíci +2

    thank you sir for all your hard work and efforts to give us this knowledge at your best!

  • @arijitdas4560
    @arijitdas4560 Před 3 lety +2

    we respect your hardwork

  • @adityagk1
    @adityagk1 Před 3 lety +1

    didnt get it in last video but this video cleared all doubts

  • @devrajdixit8978
    @devrajdixit8978 Před 5 lety +4

    Please make a playlist on java and php

  • @cyber2Kinfinite
    @cyber2Kinfinite Před 2 lety +2

    Bro your teaching is amazing ❤❤❤

  • @royfamily9273
    @royfamily9273 Před 2 lety

    Ekdam mast course hai Harry Bhaiya.

  • @sumitbiswas774
    @sumitbiswas774 Před 2 lety +3

    Harry bhai I have watched the whole C programming playlist and a big thanks to you brother for such easy explaination.
    I have one question.
    in the fgets(str,5,ptr)
    if we defined a string as str[4] size and asking for a value return of size 5 or more still it is not showing any warning or error message.
    So, how does we explain this?

    • @akshatkhatri1167
      @akshatkhatri1167 Před rokem

      if you attempt to read more characters than the size of the array can hold, you will encounter undefined behavior. fgets does not independently verify buffer overflow its your job tto check it

  • @manishmishra8911
    @manishmishra8911 Před 5 lety +2

    Awesome sir....

  • @prashikghanbahadur4517

    Harry bhaiya bhahot sahi mast sikhate ho aap

  • @lsdxsaurabh2798
    @lsdxsaurabh2798 Před 2 lety +3

    chllenge accepted 😁😁😁😁😁😁😁😁
    #include
    #include
    #include
    int Palindrome(int n)
    {
    int reversed = 0, remainder, original;
    original = n;
    while (n != 0)
    {
    remainder = n % 10;
    reversed = reversed * 10 + remainder;
    n /= 10;
    }
    if (original == reversed)
    {
    return 1;
    }
    else
    {
    return 0;
    }
    }
    int main()
    {
    int num, backup;
    printf("Enter the number which you want to chack for Palindrome
    ");
    scanf("%d", &num);
    backup = Palindrome(num);
    if (backup == 1)
    {
    printf("The number is Palindrome
    ");
    }
    else
    {
    printf("The no is not a Palindrome no
    ");
    }
    return 0;
    }

  • @Official_jp_coder
    @Official_jp_coder Před rokem +1

    very -very thankyou sir

  • @aishwaryanand8044
    @aishwaryanand8044 Před rokem

    the getc() is capable of reading from any input scheme, while the getchar() is capable of reading from the standard input.

  • @ManpreetSingh-tc1yr
    @ManpreetSingh-tc1yr Před 3 lety +1

    bhai much appreciated.

  • @ubaidurrahman2468
    @ubaidurrahman2468 Před 3 lety +1

    awesome style

  • @engineerbhai7642
    @engineerbhai7642 Před 5 lety +1

    Excellent work on you tube

  • @taufiqueanwarkhan2396
    @taufiqueanwarkhan2396 Před 8 měsíci +4

    03:48 Learning about file handling and FileIO in C
    07:36 File modes control how files are accessed and manipulated.
    11:24 Append mode adds content at the end of the file.
    15:12 C file handling functions in C standard library
    19:00 fgetc and fputc are functions to read and write characters from a file
    22:48 Exploring file handling functions in C using Visual Studio Code.
    26:36 Reading and writing strings using fgets, fputs, fgetc, and fputc in C file handling
    30:19 Different modes of file handling in C: R plus, W plus, A plus

  • @SKD14344AK
    @SKD14344AK Před 7 měsíci +1

    fgets:- get string from the files and he is the brother of fgetc

  • @gouravkumarshaw417
    @gouravkumarshaw417 Před 2 lety +1

    fgetc--> file get character
    fgets --> file get string

  • @VishalSharma-jx9in
    @VishalSharma-jx9in Před 3 lety

    After seeing your video i don't have any doubt
    thanku bhai

  • @keshav2327
    @keshav2327 Před 3 lety

    best channel on CZcams

  • @49shahzaibparwana11
    @49shahzaibparwana11 Před 2 lety

    amazing harry sir its really help ful for me

  • @JagarnautGaming
    @JagarnautGaming Před 7 měsíci

    Very nice explanation ! 🔥❤👍

  • @anonymousgerman2809
    @anonymousgerman2809 Před 3 lety +1

    thank you harry bhai hamare liye jeetu bhaiya hai
    ps: if you know you know who is jeetu bhaiya

  • @gamingangsuk4940
    @gamingangsuk4940 Před 2 lety

    Thanks for the video

  • @shivamdeokar9890
    @shivamdeokar9890 Před 3 lety

    harry bhai thanks for video it help in exam time thank you so much

  • @gamingangsuk4940
    @gamingangsuk4940 Před 2 lety

    Your course is so good I really love this course

  • @Rkh-ti6gl
    @Rkh-ti6gl Před rokem

    it will be nice to meet you!

  • @Gayatri_shejule
    @Gayatri_shejule Před 9 měsíci

    Thank you sir❤❤

  • @n045pansarechaitanya2
    @n045pansarechaitanya2 Před 3 lety

    nice bhaiyya bahut maja aaya....

  • @sekhar9312
    @sekhar9312 Před 2 lety

    You are amazing sir I watch all the video....
    Thank u sir

  • @theengineeringnibba2500
    @theengineeringnibba2500 Před 3 lety +4

    Harry bhai bass single pdf de do puure C ke course ke liya🙏🙏

  • @UltimateFinalic
    @UltimateFinalic Před 2 lety

    Sir I wish you should be my teacher.
    Thankyou for explaining now my all doubts are clear. thankyou 🙇🙇🙏🙏

  • @royfamily9273
    @royfamily9273 Před 2 lety

    Thanks Harry Bhaiya

  • @aniketvishwakarma1119
    @aniketvishwakarma1119 Před 5 lety

    Gzb. Bht hi informative laga. Aise hi accha content bnaao

  • @bonisuribabu2401
    @bonisuribabu2401 Před 3 lety

    Thanks bro finally I got file handling

  • @debaratighatak2211
    @debaratighatak2211 Před 4 lety +1

    Thank you so much sir😊

  • @jyotisingh8056
    @jyotisingh8056 Před 2 lety +1

    Quick Quiz=fputs

  • @Rehan3850_
    @Rehan3850_ Před měsícem

    fputs=write string into a file
    fgets=Read string from a file

  • @italk-gj5kk
    @italk-gj5kk Před 8 měsíci

    Maza aagya bosss

  • @arkyaaditya6797
    @arkyaaditya6797 Před 2 lety +2

    Hello Harry: At #24:03 you took str of size 4 and in fgets, you put 5 characters to read then how did an array of capacity 4 take 5 characters?

    • @aswithasai4015
      @aswithasai4015 Před 2 lety

      same doubt

    • @amazingnature1466
      @amazingnature1466 Před 2 lety

      ꜱᴛʀ ᴏꜰ ꜱɪᴢᴇ 4 ɪꜱ ᴀᴄᴛᴜᴀʟʟy ᴏꜰ ꜱɪᴢᴇ 5. ɪᴛ ꜱᴛᴀʀᴛꜱ ꜰʀᴏᴍ ɪɴᴅᴇx ɴᴏ 0,1,2,3.
      ꜱᴏ ꜱᴛʀ ʜᴀꜱ ꜱɪᴢᴇ 5 ɴᴏᴛ 4.

    • @aswithasai4015
      @aswithasai4015 Před 2 lety

      @@amazingnature1466 accha okk got it

  • @specticles2280
    @specticles2280 Před 3 lety

    This is the best Course ❤️❤️❤️❤️ Love you Harry Sir❤️❤️❤️🙏🙏🙏🙏

  • @edgbaston149
    @edgbaston149 Před 2 lety +1

    Massive respect 👏🙏🏼

  • @ayanavadas6154
    @ayanavadas6154 Před 3 lety

    Loved this video.

  • @shamsher556
    @shamsher556 Před 3 lety

    Love Harry bhai

  • @Gauravkoshyari2911
    @Gauravkoshyari2911 Před rokem

    Aap bhut accha pdate ho yrr 😊❤🫂

  • @zauneebyama2494
    @zauneebyama2494 Před 3 lety +1

    Champion!!

  • @muhammadbasit6176
    @muhammadbasit6176 Před 3 lety

    good work. Well explained

  • @azharqureshi2619
    @azharqureshi2619 Před rokem

    sir please explain the working of Fseek function.
    I have a lot of confusion about this function

  • @178patilpruthviraj7
    @178patilpruthviraj7 Před 2 lety

    very helpful 🙌

  • @shivam7271
    @shivam7271 Před 3 lety

    gjb explanation ,thanks

  • @aumprakashdas7223
    @aumprakashdas7223 Před 3 lety

    In 16:31 the brother of fgets is fputs

  • @syedammarali108
    @syedammarali108 Před 4 lety +6

    Sir, I am near about to complete your C course, so should I follow your C++ playlist or should I learn it from your one Video course?
    Thanks a lot for making these kinds of videos it really helped me.

    • @Ashish123
      @Ashish123 Před 4 lety +4

      @Techno boy well said bro we should not stuck in the tutorial loop after learning we should try to solve more question and if we get stuck in something than we should google it rather than watching whole tutorial again..

  • @deepnarayanbhagat9126
    @deepnarayanbhagat9126 Před 3 lety

    Reading the string from file

  • @victorb22622
    @victorb22622 Před 3 měsíci

    6:55 Harry ये स्लाइड previous video मे लेना था ,की कितने modes है।

  • @Ankit_45
    @Ankit_45 Před 2 lety

    i respect
    you infinity

  • @himanshurajpal7842
    @himanshurajpal7842 Před 3 lety +1

    IN w+ mode, how can we use fgets, fgetc to read input from file,infact w+ clears all the content in the file , then there is nothing left in the file so there would be no effect of fgetc or fgets functions. sir my doubt is , your table says opposite to this , how can we use w+ to do all this sir??

    • @sb_infi
      @sb_infi Před 3 lety

      Agar hum writing ke liye koi function use karenge w+ mode toh sabkuch delete hoke likhna start lekin agar reading ke liye koi function use karenge toh delete hoga....

  • @user-pm7lu4oj2x
    @user-pm7lu4oj2x Před 3 měsíci

    Harry bhai ne bol Diya to karna hi hai @29:00

  • @myths8740
    @myths8740 Před 2 lety

    fgets-->this is used to read a string .

  • @manishmishra8911
    @manishmishra8911 Před 5 lety

    Mai apki video se bahoot kuch sikh raha hoon

  • @omparkasmali892
    @omparkasmali892 Před 2 lety +1

    Fgets is the resimble of fputs

  • @padminikalburagi1783
    @padminikalburagi1783 Před 3 lety

    Thank you✨

  • @VipinSingh-qf5pl
    @VipinSingh-qf5pl Před 2 lety

    FGETS ka bhai hai FPETS , so easy bro😎😎

  • @SVNIT_AADITYA
    @SVNIT_AADITYA Před rokem

    Sir what about getw , putw , feof , ferror , fseek , frewind , ftell , fread and fwrite? Please make a video on this also

  • @aniz8901
    @aniz8901 Před 2 lety

    Thanks bro😊

  • @awanishmishra9782
    @awanishmishra9782 Před 2 lety

    thank u

  • @notherealworld3260
    @notherealworld3260 Před 2 lety

    16:27it is a brother of fputs

  • @rameshchandradhamaniya5206

    Bro can you make a video series on Android app development using python (kivy)

  • @dalvinder_kaur
    @dalvinder_kaur Před 3 lety

    Thankyou sir ❤️

  • @ahmadtashfeen94
    @ahmadtashfeen94 Před 3 lety

    THANK YOU SO MUCH

  • @eclipsefps1
    @eclipsefps1 Před 7 měsíci

    9 ko exam h mera this is a very good series
    exam ke baad btata hu kesa gya

  • @chahatvamdev4088
    @chahatvamdev4088 Před 3 lety

    Thnks Sir

  • @ritiktyagi8043
    @ritiktyagi8043 Před 5 lety

    Bhiya aap java pr bhi videos bnao aapki videos very very helpful

  • @victorb22622
    @victorb22622 Před 3 měsíci

    22:37 while code line 8 works ik ,then why again line 9 मे c=fgetc(ptr) लिखना पड़ा?

  • @JagarnautGaming
    @JagarnautGaming Před 7 měsíci

    fgets is the brother of fscanf and fputs is the brother of fprintf.

  • @beesasrisaimeghanagoud9734

    please make a video on rewind() ftell() fseek() fread() fwrite() remove() rename() tmpfile()getchaar() putchar() ungetc() feof() ferror() clearerr() functions please sir

  • @akshitagarg6327
    @akshitagarg6327 Před 3 lety

    your videos are seriously the best but can uh please speak a lil bit louder....!!!