Files in C | C Language Tutorial

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • Files in C | C Language Tutorial
    C Language Tutorial Videos
    ** For Online Training Registration: goo.gl/r6kJbB ? Call: +91-8179191999
    ? Visit Our Website for Classroom Training:
    nareshit.in/c-...
    ? For Online Training:
    nareshit.com/c...
    --------------------------
    ? About NareshIT:
    "Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA ,Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA,Hyderabad, Chennai and Vijayawada,Bangalore India which provides online training across all the locations
    --------------------------
    ? Our Online Training Features:
    1.Training with Real-Time Experts
    2.Industry Specific Scenario’s
    3.Flexible Timings
    4.Soft Copy of Material
    5. Share Videos of each and every session.
    --------------------------
    Please write back to us at us.training@nareshit.com/online@nareshit.com or Call us at USA:
    +1404-232-9879 or India: +918179191999
    * Check The Below Links*
    ? For Course Reg: goo.gl/r6kJbB
    ? Subscribe to Our Channel: goo.gl/q9ozyG
    ? Circle us on G+: plus.google.co...
    ? Like us on Facebook: / nareshit
    ? Follow us on Twitter: / nareshitech
    ? Follow us on Linkedin:
    / naresh-i-technologies
    ? Follow us on Instagram: / nareshitech

Komentáře • 217

  • @NareshIT
    @NareshIT  Před 5 lety +29

    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 Před 3 lety +131

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

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

      What ur studying now

    • @gvarun0403
      @gvarun0403 Před 3 lety +14

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

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

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

    • @joya9785
      @joya9785 Před 3 lety +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 Před 3 lety +3

      @@joya9785
      Yes sir. CSU

  • @enhola09
    @enhola09 Před 3 lety +20

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

  • @chethanajanardhan5693
    @chethanajanardhan5693 Před 4 lety +35

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

  • @aakashkumar9138
    @aakashkumar9138 Před 4 lety +15

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

  • @xplore3339
    @xplore3339 Před 7 lety +74

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

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

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

  • @mukeshmallula3320
    @mukeshmallula3320 Před 2 lety +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

  • @RSPandi-kj3vl
    @RSPandi-kj3vl Před 6 lety +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 Před 6 lety

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

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

    best teacher ever

  • @kim_kang_kyo_bts_army6745
    @kim_kang_kyo_bts_army6745 Před 4 lety +13

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

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

    Sir, The way you explain is really Excellent Si

  • @humawaseem576
    @humawaseem576 Před 4 lety +7

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

  • @devtank4523
    @devtank4523 Před 6 lety +19

    Sir plz do all programs in computer also

  • @laxmik5969
    @laxmik5969 Před 4 lety +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

  • @tamadageetanjali7754
    @tamadageetanjali7754 Před 4 lety +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

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

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

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

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

  • @subashsubashsubash
    @subashsubashsubash Před 5 lety +5

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

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

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

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

    Excellent class!!

  • @tejaswisai
    @tejaswisai Před rokem

    perfect explaining sir

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

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

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

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

  • @Abdulrehman-cf5in
    @Abdulrehman-cf5in Před 2 lety +1

    ❤️from Odisha

  • @vishalliman2326
    @vishalliman2326 Před 4 lety

    Detailed Explanation Liked This Video so much

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

    Thank you so much sir for your amazing classes

  • @fulgencejuniorlohore854

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

  • @tamilmaranc
    @tamilmaranc Před 4 lety

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

  • @UdayKumar-lm1qm
    @UdayKumar-lm1qm Před 3 lety

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

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

    thanks for good videos

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

    Thank you so much sir

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

    one of the best explanation ✌️

  • @eeinfo1
    @eeinfo1 Před 3 lety

    Crystal clear

  • @b.praveenbandi1493
    @b.praveenbandi1493 Před 6 lety +3

    excellent teaching

  • @gunduanusha2750
    @gunduanusha2750 Před 7 lety +4

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

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

    Nice sir💯💯💯💯

  • @NduaMusic
    @NduaMusic Před 5 lety +5

    the videos are so well structured! thank you!

  • @ramadevivuppala4129
    @ramadevivuppala4129 Před 3 lety

    Thanks...inthakante inkem cheppagalam sir

  • @ninad5629
    @ninad5629 Před 3 lety

    Excellent 🙏🏻😇
    Thank you sir💯

  • @mengkeatlao4571
    @mengkeatlao4571 Před 4 lety

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

  • @B-Aparnasai
    @B-Aparnasai Před 4 lety

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

  • @eeinfo1
    @eeinfo1 Před 3 lety

    you saved my day sir tq

  • @AbhiShek-gc6se
    @AbhiShek-gc6se Před 2 lety

    Sir your just incredible sir

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

    Sir, will you please explain about file positioning functions also

  • @rajcodes100
    @rajcodes100 Před 4 lety

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

  • @ankitkumarojha7510
    @ankitkumarojha7510 Před 2 lety

    THNK U SIR!!!

  • @vimalkrishna4222
    @vimalkrishna4222 Před 6 lety +1

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

  • @mongraal2272
    @mongraal2272 Před 2 lety

    thanks

  • @nehagupta3668
    @nehagupta3668 Před 2 lety

    Nice explaination,sir 😊

  • @nourhh_
    @nourhh_ Před 3 lety

    god bless you

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

    Sir how does that character value incremented

    • @srikanth8301
      @srikanth8301 Před 2 lety

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

  • @vanthanar.6028
    @vanthanar.6028 Před 3 lety +1

    Best c coding app

  • @RahulRaj-bm1mf
    @RahulRaj-bm1mf Před 7 lety +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 Před 6 lety +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 Před 3 lety

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

  • @baddamajayreddy8644
    @baddamajayreddy8644 Před 3 lety

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

  • @syamkumar6620
    @syamkumar6620 Před 5 lety

    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.

  • @SaiRam-gc7ym
    @SaiRam-gc7ym Před 5 lety +1

    Please Sir Add remaining fille handling programs and examples

  • @surajdhole
    @surajdhole Před 6 lety

    excellent teaching sir

  • @goyaldeekshant
    @goyaldeekshant Před 4 lety +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");
    }

  • @ushaandra7192
    @ushaandra7192 Před 4 lety +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 Před 4 lety +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 Před 4 lety

      @@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 Před 4 lety

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

  • @cogoden
    @cogoden Před 7 lety +1

    nice and easily explained :)

  • @prasannabotlagunta6764
    @prasannabotlagunta6764 Před 6 lety +1

    Nice sir

  • @b.praveenbandi1493
    @b.praveenbandi1493 Před 6 lety +1

    it helps lot

  • @sushmiashokan9293
    @sushmiashokan9293 Před 6 lety +1

    nice explanation

  • @Griffin-bw7dg
    @Griffin-bw7dg Před rokem

    Nice

  • @amirmahdi_s6343
    @amirmahdi_s6343 Před 3 lety

    very nice thank a lot

  • @letsplaywith-rohan
    @letsplaywith-rohan Před 4 lety

    Very helpfull videos

  • @kids_toys_review
    @kids_toys_review Před 5 lety

    Very nice teaching

  • @vaani9880
    @vaani9880 Před 2 lety

    Gr8 sir

  • @krishnaprasadsatti654
    @krishnaprasadsatti654 Před 6 lety

    Osm explanation 👌👌👌

  • @divyanalam1269
    @divyanalam1269 Před 6 lety

    thnk you .was helpful

  • @gregoryhaitower9389
    @gregoryhaitower9389 Před 5 lety

    thank you very much!

  • @nirbhay0799
    @nirbhay0799 Před 3 lety

    Nice sir 👍

  • @saiprakashputrevu7512
    @saiprakashputrevu7512 Před 6 lety

    Good explanation sir

  • @deepjoyrudrasarma3900
    @deepjoyrudrasarma3900 Před 3 lety

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

  • @pranjalgupta5292
    @pranjalgupta5292 Před 6 lety

    Good teaching

  • @gorigesairam774
    @gorigesairam774 Před 2 lety

    Sir do on binary

  • @m.s5339
    @m.s5339 Před 5 lety +1

    Please upload remaining topics on file

  • @kameshvakiti6453
    @kameshvakiti6453 Před 4 lety

    Your voice is fluent

  • @salkaharmass5696
    @salkaharmass5696 Před 5 lety

    Thank you a lot prof

  • @vandana6813
    @vandana6813 Před 6 lety

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

  • @ezkakashi7598
    @ezkakashi7598 Před 4 lety

    #include
    int main()
    {
    FILE *fp;
    char ch;
    char filename[30];
    printf("enter filename to read
    ");
    gets(filename);
    fp=fopen(filename,"r");
    if(fp!=NULL)
    {while((ch=fgetc(fp))!=EOF)
    putchar(ch);
    }
    else
    printf("file does not exist");
    return 0;
    }
    this is correct program sir simply taking that pathway isnt working finely :(

  • @mpeckanpur1094
    @mpeckanpur1094 Před 6 lety

    thank you sir...

  • @rajeshshukla3487
    @rajeshshukla3487 Před 6 lety

    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.

  • @shalini8319
    @shalini8319 Před 6 lety

    excellent

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

    Sir please explain EOF IN FILE MANAGEMENT

  • @divyagunji1289
    @divyagunji1289 Před 6 lety +5

    U have declared firstly Ch has integer than used as a character yyyyyy

    • @rishavgupta881
      @rishavgupta881 Před 5 lety

      did you get your doubt clarified? i also want to know why..
      p.s. i guess there should be a char typecast..in order to write like that

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

      i guess i found the ans
      stackoverflow.com/questions/37241364/difference-between-char-and-int-when-declaring-character

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

      Coz it returns an ascii value of character which is integer but we want to read txt file character by character and thus used %c which will convert ascii value to character

    • @ushaandra7192
      @ushaandra7192 Před 4 lety

      @@pradeepmishra1905 but we declared ch as integer right....
      Then how can it return character

  • @vrkstory
    @vrkstory Před 5 lety

    super sir

  • @ahmad-tt7bn
    @ahmad-tt7bn Před 5 lety +3

    where are the next tutorials about files in C

  • @anshumansrivastava1399

    great video.

  • @akshaykadam878
    @akshaykadam878 Před 5 lety

    Great!!

  • @dipeshsapkota844
    @dipeshsapkota844 Před 3 lety

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

    • @DevOpportunities
      @DevOpportunities Před 3 lety

      fgetc will automatically move the control to next character in file

  • @keids956
    @keids956 Před 3 lety

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

  • @danielhako1
    @danielhako1 Před 3 lety

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

  • @khajeshnarayana4407
    @khajeshnarayana4407 Před 4 lety

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

  • @vanthanar.6028
    @vanthanar.6028 Před 3 lety +1

    Read mode write mode na ena??

  • @incognitobytesandboys
    @incognitobytesandboys Před 5 lety

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

  • @lazytamilan1826
    @lazytamilan1826 Před 5 lety

    best bro

  • @mananvora7289
    @mananvora7289 Před 5 lety

    tysm
    exam saviour

  • @m.s5339
    @m.s5339 Před 5 lety +1

    Plz list your videos in sequence