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
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
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.
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
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
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"); }
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.
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 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/
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?
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.
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.
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
I am studying at University of California - Sacramento. You got a 1000/100 score from me.
What ur studying now
@@rockstarsai8165 people live long if they mind their own business
@@bhaskarchowdary8373 I don't want to live long 😂✌️
Sir isn't urs California State University instead of UC😏. University of California and California State University are of two diff leagues.
@@joya9785
Yes sir. CSU
I've been getting A+ in computer exams just because of you sir. Thank you very much
Hi
thanks sir, love you from PACHIS DIN MEIN PAISA DBL , Amrita Bangalore.
Sir your English wordings are very clear and easy to understand 🤩🤩 and your explanation so good🤩
Good explanation+ fantastic English 😅= long term memory of the student...tq sir for uploading video
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
Sir, please upload remaining file topics videos(write, append,......),
Yes sir... please
best teacher ever
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.
wow good to hear that you are from medical side ! so hows computer science ? i wish you all the best
Sir, The way you explain is really Excellent Si
sir, this is just so clear ,thank you so very much
Sir plz do all programs in computer also
Sir , your explanation is just incredible 🔥🔥..... thank you so much .
Your Teaching is awesome. thanks Sir.😊🙏🙏🙏
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
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
GOD BLESS YOU MY DEAR BROTHER, MAY YOUR WISHES COME TRUE(IF THEY ARE LEGITIMATE)
Thank you so much sir,really you are very good teacher...
Detailed Explanation Liked This Video so much
Sir, The way you explain is really Excellent Sir...
❤️from Odisha
Excellent class!!
oh my god, thanks alot mister i don't know what to call you but you saved my day
one of the best explanation ✌️
Sir ur videos are really helpful
It helped me a lot (from 🇳🇵🇳🇵🇳🇵🇳🇵)
thanks for good videos
Ur one of the best teacher sir can u please take the class of AS400 topic sir pls pls pls
Thanks...inthakante inkem cheppagalam sir
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");
}
Nice sir💯💯💯💯
Sir your just incredible sir
Excellent 🙏🏻😇
Thank you sir💯
Sir ,clear explanation thanks
Nice explaination,sir 😊
Thank you for your explanation. I understand now how to do this in c.
Best c coding app
excellent sir ....u r always explain like only concept and too clear...no alternate for naresh sir
Thank you so much sir for your amazing classes
you saved my day sir tq
Crystal clear
excellent teaching
Wow, really really good explanation. Only problem is the ads that keep showing.
Good explaining..........
sir can u please upload remaining file topics as soon as possible (write & append)
Please Sir we want full topic of files
Well explanation sir................
very nice thank a lot
Nice sir 👍
Very helpfull videos
THNK U SIR!!!
the videos are so well structured! thank you!
hpp bosdk
i have some confusion because fopen is also use to create a file
if a file is created then NULL is return or not.
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.
@@_kahini do u know about c,c++ java
Thank you so much sir
excellent teaching sir
Very nice teaching
Nice sir
Osm explanation 👌👌👌
Please Sir Add remaining fille handling programs and examples
thanks
Awesome explanation - I am really grateful for teachers like you @SRINIVAS #srinivas
god bless you
Gr8 sir
sir i got a gud information frm ur video but can we have pratical views in videos which can provide gud pratisee fr us
Read mode write mode na ena??
Sir, will you please explain about file positioning functions also
Ya
in the printf statement of while loop,ch is initially declared as int ,then how will it work with %c?
Nice
Your voice is fluent
nice and easily explained :)
Sir how does that character value incremented
(recollect once variable argument list function)in the loop, automatic will repete at the EOP here. but in string up to '\0' or NULL
Good teaching
nice explanation
super sir
why there is no need to increment file pointer while reading in 16:11
Same doubt
@@chakreshvarshney5644 we don't have to care about file pointers... Because they are internally managed by the functions
it helps lot
Good explanation sir
Tnqq.......... Sir👨
I have one question that is, how while loop is able to update to print new int value in test.txt ?
fgetc will automatically move the control to next character in file
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??
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
@@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/
@@animeshkumar1201 why does ch increasing on its own..?
thnk you .was helpful
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?
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.
Congrats from Spain, very good explained
noob
thank you very much!
Good job
Special teacher!
In y cred@@uwingeneyeeugenie1465 SF g faina
great video.
excellent
Even his English pronunciation are bad, but the way he explain are easy to understand.
Great!!
sir pls provide the link for good c compiler...i cant find a good compiler.... pls help me sir
best bro
Nice one
Sir please explain EOF IN FILE MANAGEMENT
Thank you a lot prof
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???
sir file means which file sir from the computer or drives(hard disk,pen drive).
In fgetc() how it can fetches all characters when we are not having pointer increment in loop? Please tell anyone
looping continues until some condition get failed that means when fgetc(fp)=EOF this conditon is false
@@amulyaakula6441 But how the value of pointer is incrementing without any increment condition inside the while loop?
thankyou sir...
Man i wish he would have explained what stream means in C.
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.