Files in C | C Language Tutorial

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 217

  • @NareshIT
    @NareshIT  5 років тому +30

    Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL

  • @hamida.1054
    @hamida.1054 3 роки тому +132

    I am studying at University of California - Sacramento. You got a 1000/100 score from me.

    • @rockstarsai8165
      @rockstarsai8165 3 роки тому +5

      What ur studying now

    • @gvarun0403
      @gvarun0403 3 роки тому +13

      @@rockstarsai8165 people live long if they mind their own business

    • @gvarun0403
      @gvarun0403 3 роки тому +7

      @@bhaskarchowdary8373 I don't want to live long 😂✌️

    • @joya9785
      @joya9785 3 роки тому +4

      Sir isn't urs California State University instead of UC😏. University of California and California State University are of two diff leagues.

    • @hamida.1054
      @hamida.1054 3 роки тому +3

      @@joya9785
      Yes sir. CSU

  • @enhola09
    @enhola09 3 роки тому +22

    I've been getting A+ in computer exams just because of you sir. Thank you very much

  • @harshkumarsingh4761
    @harshkumarsingh4761 3 роки тому +2

    thanks sir, love you from PACHIS DIN MEIN PAISA DBL , Amrita Bangalore.

  • @aakashkumar9138
    @aakashkumar9138 5 років тому +16

    Sir your English wordings are very clear and easy to understand 🤩🤩 and your explanation so good🤩

  • @chethanajanardhan5693
    @chethanajanardhan5693 5 років тому +35

    Good explanation+ fantastic English 😅= long term memory of the student...tq sir for uploading video

  • @mukeshmallula3320
    @mukeshmallula3320 2 роки тому +2

    i have my semester exam tmrw and i am learning this topic now . after watching your lecture , the topic became very familiar .guess i could do well tmrw , thank you sir

  • @xplore3339
    @xplore3339 7 років тому +74

    Sir, please upload remaining file topics videos(write, append,......),

  • @chowkeytv9900
    @chowkeytv9900 3 роки тому +3

    best teacher ever

  • @RSPandi-kj3vl
    @RSPandi-kj3vl 6 років тому +5

    ur explanation is very undrstaNble,,,even im a biological student so this field was more complicated to me,,,but After watching ur video iT was amAzing....and im now perfect with all the topics....thank uM r. Srinivas..IM PERFECT IN COMPUTER SCIENCE DEPRTMENT.

    • @sumanthkomaragiri3488
      @sumanthkomaragiri3488 6 років тому

      wow good to hear that you are from medical side ! so hows computer science ? i wish you all the best

  • @ICTSKILLS495
    @ICTSKILLS495 5 років тому +8

    Sir, The way you explain is really Excellent Si

  • @humawaseem576
    @humawaseem576 5 років тому +7

    sir, this is just so clear ,thank you so very much

  • @devtank4523
    @devtank4523 6 років тому +19

    Sir plz do all programs in computer also

  • @kim_kang_kyo_bts_army6745
    @kim_kang_kyo_bts_army6745 4 роки тому +13

    Sir , your explanation is just incredible 🔥🔥..... thank you so much .

  • @manashvardhan9965
    @manashvardhan9965 3 роки тому +1

    Your Teaching is awesome. thanks Sir.😊🙏🙏🙏

  • @tamadageetanjali7754
    @tamadageetanjali7754 4 роки тому +1

    Hello sir I'm geeta from srikakulam. I'm daily watching ur class videos sir. U have a good explanation sir. Sir i have to request to you tell me important question on C language for degree 1st year 2nd sem syllabus

  • @laxmik5969
    @laxmik5969 4 роки тому +2

    Sir plz consider us request .many more students request the same one that plz upload more videos about file . I can't understand full concept of file in c . It's my kind request

  • @subashsubashsubash
    @subashsubashsubash 6 років тому +5

    GOD BLESS YOU MY DEAR BROTHER, MAY YOUR WISHES COME TRUE(IF THEY ARE LEGITIMATE)

  • @vaibhavpandey1202
    @vaibhavpandey1202 5 років тому +3

    Thank you so much sir,really you are very good teacher...

  • @vishalliman2326
    @vishalliman2326 4 роки тому

    Detailed Explanation Liked This Video so much

  • @themassventures2060
    @themassventures2060 5 років тому +3

    Sir, The way you explain is really Excellent Sir...

  • @Abdulrehman-cf5in
    @Abdulrehman-cf5in 3 роки тому +1

    ❤️from Odisha

  • @icarus33
    @icarus33 4 роки тому +3

    Excellent class!!

  • @xhammodyxx3653
    @xhammodyxx3653 3 роки тому +1

    oh my god, thanks alot mister i don't know what to call you but you saved my day

  • @krishnendufouzder6936
    @krishnendufouzder6936 4 роки тому +1

    one of the best explanation ✌️

  • @nabrajmalla1264
    @nabrajmalla1264 4 роки тому +1

    Sir ur videos are really helpful
    It helped me a lot (from 🇳🇵🇳🇵🇳🇵🇳🇵)

  • @bvenkat8140
    @bvenkat8140 5 років тому +1

    thanks for good videos

  • @UdayKumar-lm1qm
    @UdayKumar-lm1qm 3 роки тому

    Ur one of the best teacher sir can u please take the class of AS400 topic sir pls pls pls

  • @ramadevivuppala4129
    @ramadevivuppala4129 3 роки тому

    Thanks...inthakante inkem cheppagalam sir

  • @goyaldeekshant
    @goyaldeekshant 4 роки тому +1

    Here is the complete code of file opening:
    #include
    main()
    {
    FILE* fp;
    fopen("C:/Users/user/Desktop/Guidlines.docx","r");
    if(fp=NULL)
    printf("file not present");
    else
    printf("file opened");
    }

  • @vatsalpagare6935
    @vatsalpagare6935 5 років тому +1

    Nice sir💯💯💯💯

  • @AbhiShek-gc6se
    @AbhiShek-gc6se 2 роки тому

    Sir your just incredible sir

  • @ninad5629
    @ninad5629 3 роки тому

    Excellent 🙏🏻😇
    Thank you sir💯

  • @CSR_devadharshini
    @CSR_devadharshini 4 роки тому

    Sir ,clear explanation thanks

  • @nehagupta3668
    @nehagupta3668 2 роки тому

    Nice explaination,sir 😊

  • @fulgencejuniorlohore854
    @fulgencejuniorlohore854 3 роки тому

    Thank you for your explanation. I understand now how to do this in c.

  • @vanthanar.6028
    @vanthanar.6028 4 роки тому +1

    Best c coding app

  • @tamilmaranc
    @tamilmaranc 4 роки тому

    excellent sir ....u r always explain like only concept and too clear...no alternate for naresh sir

  • @ramitacommi4322
    @ramitacommi4322 3 роки тому +1

    Thank you so much sir for your amazing classes

  • @eeinfo1
    @eeinfo1 3 роки тому

    you saved my day sir tq

  • @eeinfo1
    @eeinfo1 3 роки тому

    Crystal clear

  • @b.praveenbandi1493
    @b.praveenbandi1493 7 років тому +3

    excellent teaching

  • @mengkeatlao4571
    @mengkeatlao4571 4 роки тому

    Wow, really really good explanation. Only problem is the ads that keep showing.

  • @vimalkrishna4222
    @vimalkrishna4222 7 років тому +1

    Good explaining..........

  • @gunduanusha2750
    @gunduanusha2750 7 років тому +4

    sir can u please upload remaining file topics as soon as possible (write & append)

  • @B-Aparnasai
    @B-Aparnasai 4 роки тому

    Please Sir we want full topic of files
    Well explanation sir................

  • @amirmahdi_s6343
    @amirmahdi_s6343 3 роки тому

    very nice thank a lot

  • @nirbhay0799
    @nirbhay0799 3 роки тому

    Nice sir 👍

  • @letsplaywith-rohan
    @letsplaywith-rohan 4 роки тому

    Very helpfull videos

  • @ankitkumarojha7510
    @ankitkumarojha7510 2 роки тому

    THNK U SIR!!!

  • @NduaMusic
    @NduaMusic 6 років тому +5

    the videos are so well structured! thank you!

  • @RahulRaj-bm1mf
    @RahulRaj-bm1mf 7 років тому +7

    i have some confusion because fopen is also use to create a file
    if a file is created then NULL is return or not.

    • @_kahini
      @_kahini 7 років тому +3

      after you say fopen you have to specify the action
      like "a" for appending "r" for reading and "w" for creating or writing to a file. to perform all those actions we have to open the file by fopen.

    • @rockstarsai8165
      @rockstarsai8165 3 роки тому

      @@_kahini do u know about c,c++ java

  • @umamaheswariseralathan6924
    @umamaheswariseralathan6924 4 роки тому

    Thank you so much sir

  • @surajdhole
    @surajdhole 6 років тому

    excellent teaching sir

  • @kids_toys_review
    @kids_toys_review 6 років тому

    Very nice teaching

  • @prasannabotlagunta6764
    @prasannabotlagunta6764 6 років тому +1

    Nice sir

  • @krishnaprasadsatti654
    @krishnaprasadsatti654 7 років тому

    Osm explanation 👌👌👌

  • @SaiRam-gc7ym
    @SaiRam-gc7ym 5 років тому +1

    Please Sir Add remaining fille handling programs and examples

  • @mongraal2272
    @mongraal2272 2 роки тому

    thanks

  • @rajcodes100
    @rajcodes100 4 роки тому

    Awesome explanation - I am really grateful for teachers like you @SRINIVAS #srinivas

  • @nourhh_
    @nourhh_ 3 роки тому

    god bless you

  • @vaani9880
    @vaani9880 2 роки тому

    Gr8 sir

  • @baddamajayreddy8644
    @baddamajayreddy8644 3 роки тому

    sir i got a gud information frm ur video but can we have pratical views in videos which can provide gud pratisee fr us

  • @vanthanar.6028
    @vanthanar.6028 4 роки тому +1

    Read mode write mode na ena??

  • @vaishnaviperika3330
    @vaishnaviperika3330 6 років тому +3

    Sir, will you please explain about file positioning functions also

  • @deepjoyrudrasarma3900
    @deepjoyrudrasarma3900 3 роки тому

    in the printf statement of while loop,ch is initially declared as int ,then how will it work with %c?

  • @Griffin-bw7dg
    @Griffin-bw7dg Рік тому

    Nice

  • @kameshvakiti6453
    @kameshvakiti6453 4 роки тому

    Your voice is fluent

  • @cogoden
    @cogoden 7 років тому +1

    nice and easily explained :)

  • @kitchencampers5386
    @kitchencampers5386 4 роки тому +7

    Sir how does that character value incremented

    • @srikanth8301
      @srikanth8301 3 роки тому

      (recollect once variable argument list function)in the loop, automatic will repete at the EOP here. but in string up to '\0' or NULL

  • @pranjalgupta5292
    @pranjalgupta5292 6 років тому

    Good teaching

  • @sushmiashokan9293
    @sushmiashokan9293 7 років тому +1

    nice explanation

  • @vrkstory
    @vrkstory 5 років тому

    super sir

  • @Deepak-jf9gz
    @Deepak-jf9gz 5 років тому +1

    why there is no need to increment file pointer while reading in 16:11

    • @chakreshvarshney5644
      @chakreshvarshney5644 5 років тому

      Same doubt

    • @nikitaaware4692
      @nikitaaware4692 5 років тому +1

      @@chakreshvarshney5644 we don't have to care about file pointers... Because they are internally managed by the functions

  • @b.praveenbandi1493
    @b.praveenbandi1493 7 років тому +1

    it helps lot

  • @saiprakashputrevu7512
    @saiprakashputrevu7512 7 років тому

    Good explanation sir

  • @vandana6813
    @vandana6813 6 років тому

    Tnqq.......... Sir👨

  • @dipeshsapkota844
    @dipeshsapkota844 3 роки тому

    I have one question that is, how while loop is able to update to print new int value in test.txt ?

    • @DevOpportunities
      @DevOpportunities 3 роки тому

      fgetc will automatically move the control to next character in file

  • @ushaandra7192
    @ushaandra7192 4 роки тому +1

    Sir..in while loop ,we didn't increase ch know sir
    Then how can it increase in the loop
    And even we didn't declare ch as character....so how can it return character in printf statement??

    • @nehaajith3275
      @nehaajith3275 4 роки тому +1

      the file pointer is set to increment by default, so no need to increment ch. and "%c" does the type conversion job to return a character

    • @animeshkumar1201
      @animeshkumar1201 4 роки тому

      @@nehaajith3275 your explanation is not very clear.
      Actually when we have a condition in while (), this condition itself is calling the fgetc function. Now in each iteration of the while loop fgetc is called. An equivalent loop would be this:
      while(ch!=EOF)
      {
      ch = fgetc(fp);
      printf( "%c", ch) ;
      }
      After each iteration the fp is incremented and therefore we get character by character ascii value. For more info check out www.geeksforgeeks.org/fgetc-fputc-c/

    • @adityahridyam7698
      @adityahridyam7698 4 роки тому

      @@animeshkumar1201 why does ch increasing on its own..?

  • @divyanalam1269
    @divyanalam1269 7 років тому

    thnk you .was helpful

  • @sai-nu1ec
    @sai-nu1ec 3 роки тому +3

    firstly, your lecture are so help full and i must say thanks...
    Doubt:
    1.can we store the structure data into txt files?
    2.how we can decide to choose the txt or binary files for ur requirement?

  • @syamkumar6620
    @syamkumar6620 6 років тому

    how to take input values from .csv file and execute in .txt file.
    ex:
    Student-1, 500
    Student-2, 200
    Student-3, 800
    fprintf("The Student-1 marks are = %f", Student-1);
    In this condition i will take only before "," my variable and after "," variable value.
    Please let me explain this problem.

  • @abelcanizaresgalles5089
    @abelcanizaresgalles5089 4 роки тому

    Congrats from Spain, very good explained

  • @gregoryhaitower9389
    @gregoryhaitower9389 5 років тому

    thank you very much!

  • @swarnareddykollu287
    @swarnareddykollu287 7 років тому +1

    Good job

  • @anshumansrivastava1399
    @anshumansrivastava1399 6 років тому

    great video.

  • @shalini8319
    @shalini8319 6 років тому

    excellent

  • @keids956
    @keids956 4 роки тому

    Even his English pronunciation are bad, but the way he explain are easy to understand.

  • @akshaykadam878
    @akshaykadam878 5 років тому

    Great!!

  • @incognitobytesandboys
    @incognitobytesandboys 5 років тому

    sir pls provide the link for good c compiler...i cant find a good compiler.... pls help me sir

  • @lazytamilan1826
    @lazytamilan1826 5 років тому

    best bro

  • @MadhukarDwivedi7
    @MadhukarDwivedi7 5 років тому

    Nice one

  • @திரும்பிபாருங்க

    Sir please explain EOF IN FILE MANAGEMENT

  • @salkaharmass5696
    @salkaharmass5696 5 років тому

    Thank you a lot prof

  • @susheelyadav6143
    @susheelyadav6143 6 років тому +1

    what if we get space in the middle and then some letters??
    if it get space it will return -1, then remaining letters will be unreadable???

  • @khajeshnarayana4407
    @khajeshnarayana4407 4 роки тому

    sir file means which file sir from the computer or drives(hard disk,pen drive).

  • @saikrishnarudroju5193
    @saikrishnarudroju5193 5 років тому +1

    In fgetc() how it can fetches all characters when we are not having pointer increment in loop? Please tell anyone

    • @amulyaakula6441
      @amulyaakula6441 3 роки тому

      looping continues until some condition get failed that means when fgetc(fp)=EOF this conditon is false

    • @harshitachaturvedi3641
      @harshitachaturvedi3641 3 роки тому

      @@amulyaakula6441 But how the value of pointer is incrementing without any increment condition inside the while loop?

  • @tapanjeetroy8266
    @tapanjeetroy8266 6 років тому

    thankyou sir...

  • @danielhako1
    @danielhako1 4 роки тому

    Man i wish he would have explained what stream means in C.

  • @rajeshshukla3487
    @rajeshshukla3487 6 років тому

    firstly you are saying fopen will return file pointer and then after you are saving return of fopen in file pointer, i am confused kindly clarify this.