Files in C | C Language Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 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

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

  • @NareshIT
    @NareshIT  5 ปีที่แล้ว +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 3 ปีที่แล้ว +131

    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 ปีที่แล้ว +14

      @@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 2 ปีที่แล้ว +20

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

  • @xplore3339
    @xplore3339 7 ปีที่แล้ว +74

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

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

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

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

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

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

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

  • @mukeshmallula3320
    @mukeshmallula3320 ปีที่แล้ว +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 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

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

    best teacher ever

  • @devtank4523
    @devtank4523 6 ปีที่แล้ว +19

    Sir plz do all programs in computer also

  • @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

  • @ICTSKILLS495
    @ICTSKILLS495 5 ปีที่แล้ว +8

    Sir, The way you explain is really Excellent Si

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

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

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

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

  • @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

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

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

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

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

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

    Excellent class!!

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

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

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

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

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

    perfect explaining sir

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

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

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

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

  • @Abdulrehman-cf5in
    @Abdulrehman-cf5in 2 ปีที่แล้ว +1

    ❤️from Odisha

  • @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

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

    Crystal clear

  • @vanthanar.6028
    @vanthanar.6028 3 ปีที่แล้ว +1

    Best c coding app

  • @mengkeatlao4571
    @mengkeatlao4571 4 ปีที่แล้ว

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

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

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

  • @b.praveenbandi1493
    @b.praveenbandi1493 6 ปีที่แล้ว +3

    excellent teaching

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

    Thank you so much sir

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

    one of the best explanation ✌️

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

    thanks for good videos

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

    Thank you so much sir for your amazing classes

  • @vishalliman2326
    @vishalliman2326 4 ปีที่แล้ว

    Detailed Explanation Liked This Video so much

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

    Sir, will you please explain about file positioning functions also

  • @B-Aparnasai
    @B-Aparnasai 4 ปีที่แล้ว

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

  • @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 6 ปีที่แล้ว +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

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

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

  • @tamilmaranc
    @tamilmaranc 4 ปีที่แล้ว

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

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

    Nice sir💯💯💯💯

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

    Thanks...inthakante inkem cheppagalam sir

  • @CSR_devadharshini
    @CSR_devadharshini 4 ปีที่แล้ว

    Sir ,clear explanation thanks

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

    Sir, please upload remaining file topics videos write, append, etc

  • @syamkumar6620
    @syamkumar6620 5 ปีที่แล้ว

    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.

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

    Sir how does that character value incremented

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

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

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

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

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

    THNK U SIR!!!

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

    you saved my day sir tq

  • @SaiRam-gc7ym
    @SaiRam-gc7ym 5 ปีที่แล้ว +1

    Please Sir Add remaining fille handling programs and examples

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

    the videos are so well structured! thank you!

  • @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

  • @AbhiShek-gc6se
    @AbhiShek-gc6se 2 ปีที่แล้ว

    Sir your just incredible sir

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

    Nice explaination,sir 😊

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

    thanks

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

    Excellent 🙏🏻😇
    Thank you sir💯

  • @goyaldeekshant
    @goyaldeekshant 3 ปีที่แล้ว +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");
    }

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

    god bless you

  • @ahmad-tt7bn
    @ahmad-tt7bn 5 ปีที่แล้ว +3

    where are the next tutorials about files in C

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

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

  • @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..?

  • @surajdhole
    @surajdhole 6 ปีที่แล้ว

    excellent teaching sir

  • @rajcodes100
    @rajcodes100 4 ปีที่แล้ว

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

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

    nice explanation

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

    Nice sir

  • @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.

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

    nice and easily explained :)

  • @Griffin-bw7dg
    @Griffin-bw7dg ปีที่แล้ว

    Nice

  • @kameshvakiti6453
    @kameshvakiti6453 4 ปีที่แล้ว

    Your voice is fluent

  • @kids_toys_review
    @kids_toys_review 5 ปีที่แล้ว

    Very nice teaching

  • @vanthanar.6028
    @vanthanar.6028 3 ปีที่แล้ว +1

    Read mode write mode na ena??

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

    Sir please explain EOF IN FILE MANAGEMENT

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

    very nice thank a lot

  • @b.praveenbandi1493
    @b.praveenbandi1493 6 ปีที่แล้ว +1

    it helps lot

  • @indianrailwaysvideos01
    @indianrailwaysvideos01 4 ปีที่แล้ว

    Very helpfull videos

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

    Gr8 sir

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

    Nice sir 👍

  • @saiprakashputrevu7512
    @saiprakashputrevu7512 6 ปีที่แล้ว

    Good explanation sir

  • @m.s5339
    @m.s5339 5 ปีที่แล้ว +1

    Please upload remaining topics on file

  • @krishnaprasadsatti654
    @krishnaprasadsatti654 6 ปีที่แล้ว

    Osm explanation 👌👌👌

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

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

  • @incognitobytesandboys
    @incognitobytesandboys 5 ปีที่แล้ว

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

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

    Why should we use file in uppercase only while declaring filepointer

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

      All these read/write functions are written under a sub function in header stdio.h in a structure which is type defined as "FILE"

  • @pranjalgupta5292
    @pranjalgupta5292 6 ปีที่แล้ว

    Good teaching

  • @khajeshnarayana4407
    @khajeshnarayana4407 4 ปีที่แล้ว

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

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

    Sir do on binary

  • @divyanalam1269
    @divyanalam1269 6 ปีที่แล้ว

    thnk you .was helpful

  • @gregoryhaitower9389
    @gregoryhaitower9389 5 ปีที่แล้ว

    thank you very much!

  • @divyagunji1289
    @divyagunji1289 6 ปีที่แล้ว +5

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

    • @rishavgupta881
      @rishavgupta881 5 ปีที่แล้ว

      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 5 ปีที่แล้ว +3

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

    • @pradeepmishra1905
      @pradeepmishra1905 4 ปีที่แล้ว +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 4 ปีที่แล้ว

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

  • @virendrauppalwar9424
    @virendrauppalwar9424 7 ปีที่แล้ว +6

    plz upload remaining topic plz

    • @NMOTURUCHANDANA
      @NMOTURUCHANDANA 4 ปีที่แล้ว

      This one is the link th-cam.com/video/OKKLU0qFlb0/w-d-xo.html

  • @susheelyadav6143
    @susheelyadav6143 5 ปีที่แล้ว +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???

  • @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 2 ปีที่แล้ว

      fgetc will automatically move the control to next character in file

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

    what about reading integer by integer from files??

  • @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?

  • @m.s5339
    @m.s5339 5 ปีที่แล้ว +1

    Plz list your videos in sequence

  • @salkaharmass5696
    @salkaharmass5696 5 ปีที่แล้ว

    Thank you a lot prof

  • @shalini8319
    @shalini8319 6 ปีที่แล้ว

    excellent

  • @vandana6813
    @vandana6813 6 ปีที่แล้ว

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

  • @anshumansrivastava1399
    @anshumansrivastava1399 6 ปีที่แล้ว

    great video.