Functions For File I/O In C Language: C Tutorial In Hindi #64

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024

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

  • @CodeWithHarry
    @CodeWithHarry  5 ปีที่แล้ว +33

    I will be uploading a C project on my new channel ProgrammingWithHarry (In English)
    Find it here: th-cam.com/channels/7btqG2Ww0_2LwuQxpvo2HQ.html

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

      bro...what if I want to print the whole content from the file

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

      Plz make more deep video on c

  • @pranaycc
    @pranaycc 3 ปีที่แล้ว +87

    if i combine both videos like this c programming play list and c in one video ,this video series is so much underrated :( this course this far better than all other paid courses available on udemy ....

    • @woundman6521
      @woundman6521 3 ปีที่แล้ว +4

      Seriously , better than udemy.

    • @konozrashid887
      @konozrashid887 11 หลายเดือนก่อน

      Indeed!❤

  • @rivines
    @rivines 3 ปีที่แล้ว +7

    At this time you are not well but still made this video salute you

  • @justcodeit5032
    @justcodeit5032 5 ปีที่แล้ว +7

    bhaiya mere pas ek book he , sab he usme, but kabhi kabhi itta jyada padhke kuch cheze ignore hoti he, apki ye playlist dekhke mere purane concepts bhi clear ho gae or infact naya bhi sikhne ko mila ☺, bhaiya DATA STRUCTURES AND ALGORITHM ka bhi kuch esa hi banado na please or COMPETITIVE CODING ka bhi gyan dedo, thanks a lot bhaiya, loved your course

  • @ayanavadas6154
    @ayanavadas6154 3 ปีที่แล้ว +9

    Loving the playlist fully till now.

  • @bhupendrasingh7788
    @bhupendrasingh7788 5 ปีที่แล้ว +1

    sir ap bahut achi tarah se samjate ho mai apne freinds ko bhi apke channel ke bare mai batata rehta hu ab boh bhi apki video ko dekhte hai

  • @sumeetmathpati6215
    @sumeetmathpati6215 4 ปีที่แล้ว +4

    I understood everything even pointers in my college .But i had doubts in File.After this video all doubt got destroyed.

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

    Thanks Harry Bhaiya

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

    Having Cold and still making the tutorial! Love you bhai!!

  • @gundujamadar1685
    @gundujamadar1685 4 ปีที่แล้ว +4

    Amazing tutorial of c programming lang

  • @angrosh.5957
    @angrosh.5957 2 ปีที่แล้ว +1

    Nice video i now learning c in enjoying mode

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

    thank you very much for making it crystal clear

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

    Excellent explanation

  • @ArmaanKhan-xs3ub
    @ArmaanKhan-xs3ub ปีที่แล้ว +1

    very nice video harry bhai😊

  • @prathamkumar3731
    @prathamkumar3731 3 ปีที่แล้ว +1

    just loved your videos bhaiya

  • @abhinayjangde
    @abhinayjangde 4 ปีที่แล้ว +3

    Very useful video .

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

    bhaiya computer science engineering me jitna syllabus hota h uspar videos banaye hamare jaise bahut student ki madad milegi aap jaisa sikhane wala teacher ho to koi baccha Idhar udhar gumrah nhi hoga

  • @worldoutside963
    @worldoutside963 3 หลายเดือนก่อน

    Thanx bhaiya bahut mast tha ye wala

  • @RohanDasRD
    @RohanDasRD 5 ปีที่แล้ว +4

    Bhai I have One Request .. please python chatbot banana dikhao...then we can use it on our Virtual assistant...

    • @zoomzoom4055
      @zoomzoom4055 3 ปีที่แล้ว

      Please i can help you

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

  • @gouravyadav7807
    @gouravyadav7807 3 ปีที่แล้ว +1

    good content

  • @chiteez_____1562
    @chiteez_____1562 10 หลายเดือนก่อน

    Thanks for such a nice explanation. ♥🔥👍

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

    Harry bro you are the best 🙏

  • @آمنہ-ز4ص
    @آمنہ-ز4ص 3 ปีที่แล้ว +5

    You have already created a Student Record Keeper program in Assignment 2. Your task is to
    implement File Handling on each function you created in Assignment 2. Your Program should do following
    tasks using File Handling (Read and Write files according to functions):
    1. Add New Student
    2. Remove Existing Student
    3. Search Student (one OR more) by Department
    4. Search Student (one OR more) by City
    5. Search Student (one OR more) by Program (Using Array Sorting)
    6. Update Existing Student (Using Pointers)
    7. Find Total Number of Students of Specific Department
    8. Find Average Result of Specific Department
    9. Search Specific Student by Reg No. and Find whether He is Pass ‘OR’ Fail
    10. Find the grade each subject of the student by registration No.
    Each Student should have Following Attributes:
    I. Reg No (Unique for each student)
    II. Name
    III. DOB
    IV. Department (Department values should be ‘Management’ or ‘Computer Science’ or ‘Physics’)
    V. Program (like BSCS, BSM, BSSE etc.)
    VI. Subjects (Maximum 5)
    VII. Obtained Marks in each subject out of 100

    • @آمنہ-ز4ص
      @آمنہ-ز4ص 3 ปีที่แล้ว

      May ny is my data save kerwa lea hy but agy ni smjh arhi 2 remove sy agy ni ho rha i need help

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

      @@آمنہ-ز4ص i will help you

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

      1 saal hogay agle janam me karoge kya?@@sauravnalawade6989

  • @asmitapatil5266
    @asmitapatil5266 3 ปีที่แล้ว +1

    nice explanation

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

    Bhai mujhe ek confusion hai.. Ki aapne file open karne ke baad fclose fucntion ka use ku nahi kia.. Aapne hi to bola tha video m ki is function ka use krne must h... Please give solution of this problem

  • @BECEOOPATELKHUSHJ
    @BECEOOPATELKHUSHJ 3 ปีที่แล้ว +1

    Good job sir

  • @Dhonihits
    @Dhonihits 10 หลายเดือนก่อน

    Thank you so much

  • @SushilKumar-xg8qk
    @SushilKumar-xg8qk 5 ปีที่แล้ว +2

    Nice video

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

    Tq bro

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

    sir please add video on svm,decision treen, random forest,naive bayes on data science series

  • @tarunrajpoot2576
    @tarunrajpoot2576 5 ปีที่แล้ว +1

    Good bhai

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

    Mst hai bro😊😊😊😊😊😊😊

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

    thanku so much sir for this much clear explanation

  • @dalvinder_kaur
    @dalvinder_kaur 3 ปีที่แล้ว +1

    Thankyou sir ❤️

  • @movieshub-y2q
    @movieshub-y2q ปีที่แล้ว

    Congratulations for 4M🎉

  • @ArmaanKhan-xs3ub
    @ArmaanKhan-xs3ub ปีที่แล้ว

    Harry sir nice explain for this video but sir jaab file ko w+ ma khol raha tha ro file khul nahi rahi to kya problem hogi sir please bata dijiye syntax code ma

  • @rockstar-ee3kc
    @rockstar-ee3kc 5 ปีที่แล้ว +6

    Sir
    My name is yugandhar
    And i want to become an ethical hacker
    Do i want to learn programming deeply
    Or only basic

    • @vishalkumawat9146
      @vishalkumawat9146 4 ปีที่แล้ว +1

      Bro
      1st learn website and software development
      And then work on debugging and then loop holes and then how to fix that loophole.
      Then you'll automatically become as a hacker.

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

      @@vishalkumawat9146 Right!!but more step

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

      You can

  • @NitinKumar-qk1fi
    @NitinKumar-qk1fi 4 ปีที่แล้ว +1

    Awesome👍👍👍 bro

  • @pallavinamdev1459
    @pallavinamdev1459 5 ปีที่แล้ว +1

    9th comment . U finally became a programmer

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

    Sir poori file ko read kese karenge ?? fscanf se toh bss first word print ho raha Hai , toh hum log poora Content kese print karenge ??
    Plz reply sir or others if U know

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

    Bro plz post videos fastly coz i have completed course till here and i wanna complete whole C till 23 of June coz i sat a deadline of that day bro. Hope you understand bhaiya

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

    thank you januuuuuuuu :)

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

    What if we want to take text from txt file it should have those spaces? How can we make it do that so it won't stop after detecting spaces?

  • @mohitgaikwad5465
    @mohitgaikwad5465 5 ปีที่แล้ว +1

    सर प्लीज विडियो बनाइये ai मे कस्टम voice केसे लगाये और ai को हिंदी मे कैसे बनाया
    Please Sir please😢😢

  • @manthansharma8529
    @manthansharma8529 5 ปีที่แล้ว +1

    Harry bhai mau apni hardrive ka partition kr rha tha
    Pr glti se vhd bn gyi jiska mujhe koi use nhi kya aap bta skte ho use remove kese kre

  • @cricket_yaari._
    @cricket_yaari._ 2 ปีที่แล้ว

    Awesome 😎👍

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

    Sheikh Soaib

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

    Sir fscanf () me "%[^
    ]" ka use bataye na

  • @sunilkumar-ft3nk
    @sunilkumar-ft3nk 3 ปีที่แล้ว +5

    I am not able to read or write file . Can anybody help me

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

    very good work !👌👌

  • @PodClips_withSuraj
    @PodClips_withSuraj 4 ปีที่แล้ว +1

    Smj me ata hy bhai aap padhate rho

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

    What is the secret behind 34🤔

  • @techredefine
    @techredefine 5 ปีที่แล้ว +3

    I love you

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

    Bro I am getting some garbage value while printing

  • @gauravrawat8801
    @gauravrawat8801 5 ปีที่แล้ว +1

    Sir aur kitni videos aaengi c language ki??

  • @sagardahihande8158
    @sagardahihande8158 3 ปีที่แล้ว

    💯

  • @kikubakery6368
    @kikubakery6368 4 ปีที่แล้ว +1

    Op

  • @samiransahoo4727
    @samiransahoo4727 3 ปีที่แล้ว +1

    OS design tutorial video upload kob kore

  • @victorb22622
    @victorb22622 6 หลายเดือนก่อน

    15:57 this is not fair ,you wrote three lines each having five words and this code read just first word ,if words interconnect with underscore then it works as one word but this code doesnt read the file , you have to show it

  • @geek2know175
    @geek2know175 5 ปีที่แล้ว +1

    Sir please help
    Mai vs code mei jab apna code run kr raha hu to wo show kr raha h code is already running.
    Please reply me sir help

  • @SachinSingh-tr4td
    @SachinSingh-tr4td ปีที่แล้ว

    How to create a Binary file???

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

    Sir esme mujhe Pura sentence ko read karna hai toa Kaya karege

  • @msk0007
    @msk0007 4 ปีที่แล้ว +1

    sir this program is not working in my dev c++ compiler,does this program only support visual studio code for compilation

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

      There is something which works in VS code not dev c
      Ex....
      for(int i=0 ; i

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

    why u r not replying to any of my comment in the python tutorial series..
    plzz support new learners bro

  • @world-is6gi
    @world-is6gi 4 ปีที่แล้ว +1

    Char string[34]
    Cahr string[64]
    Sir, I don't understand this
    Please tell me
    What is this

    • @anonymousgerman2809
      @anonymousgerman2809 3 ปีที่แล้ว

      this is very simple , he changed 34 to 64 so that storage become enough for the string. Although 34 was enough but giving more space is good so he gave it

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

    arey bhai ,the code kuch problems nahi dikha raha hai phar fir bhi change nahi ho raha hai file mei

  • @deepanjalisubudhi9066
    @deepanjalisubudhi9066 4 ปีที่แล้ว +1

    Harry bhai mera ye program apke je sa q kam nhi kar raha?? Matlab ye program karne ke bad mere file me kuch change nhi ho raha apke program ke tarah.. Plz bhai help karo batao q nhi ho raha.

  • @tanmay_b_07
    @tanmay_b_07 4 หลายเดือนก่อน

    21-06-24

  • @callofdutywithshadow5096
    @callofdutywithshadow5096 3 ปีที่แล้ว

    Harry bhai meri txt file creat hori hai but wo read aur write nhi ho rahi hai plz help me 😭

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

    Why your source code not working

  • @f-53dhruvrudani70
    @f-53dhruvrudani70 10 หลายเดือนก่อน

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

    Harry bhai muje aapse baat karni he

  • @Anupma-zf7tt
    @Anupma-zf7tt 2 ปีที่แล้ว +1

    🐻🐻‍❄️🐨🐼

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

    github.com/susheelsk/image-background-removal
    Is script ko solve kardo ne
    Ek video banavona or run karke dikhao na please meri jaan raha gayi is script me please😫🙏🙏💓

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

    i am still not able to figure how to command a file without giving it's definite address here if running the below code than readjust the location to any of your computers text file
    #include
    #include
    int main()
    {
    char x[10];
    char y[10];
    char z[10];
    int j;
    puts("enetr no. of clients");
    scanf("%d",&j);
    FILE *p=NULL;
    p= fopen("C:\\Users\\hp\\Desktop\\text file.txt","w");
    for(int i=0;i

  • @clippppzz1534
    @clippppzz1534 9 หลายเดือนก่อน

    #include
    int main()
    {
    FILE *ptr= NULL;
    char string[10]="THANKS ";
    ptr=fopen("example.txt","w");
    fprintf(ptr,"%s",string);
    fclose(ptr);
    char name[20];
    char item[20];
    int outlet;
    printf("ENTER THE CUSTOMERS NAME-
    ");
    scanf("%s",&name);
    printf("ENTER THE ITEM-
    ");
    scanf("%s",&item);
    printf("ENTER THE OUTLET NUMBER-
    ");
    scanf("%d",&outlet);
    ptr=fopen("example.txt","a+");
    fprintf(ptr,"%s",name);
    fputs(" for purchasing ",ptr);
    fprintf(ptr,"%s",item);
    fputs(" from our outlet no. ",ptr);
    fprintf(ptr,"%d",outlet);
    fputs("
    Please visit our outlet no.",ptr);
    fprintf(ptr," %d",outlet);
    fputs(" for any kind of problems.
    We plan to server you again soon.",ptr);
    fclose(ptr);
    ptr=fopen("example.txt","r");
    char c[300];
    fgets(c,300,ptr);
    printf(" %s
    ", c );
    fgets(c,300,ptr);
    printf(" %s
    ", c );
    fgets(c,300,ptr);
    printf(" %s
    ", c );

    return 0;
    }