C_25 Unformatted Input Functions in C | C Programming Tutorials
ฝัง
- เผยแพร่เมื่อ 18 ก.ย. 2024
- In This Video, we will learn Unformatted Input Functions (getch(), getchar(), getche(), gets()) in C with programs
Best C Programming Tutorials : • Programming in C
*******************************************
Connect & Contact Me:
My Second Channel Link: bit.ly/354n7C7
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*********************************************
More Playlists:
C++ Programming Tutorials: • Lec 1: How to Install ...
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Python Full Course: • Python - Basic to Advance
Printing Pattern in C: • Printing Pattern Progr...
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
#cprogramming #jennyslectures #programming #clanguage #operatorsinc
Ur lectures are really very helpful.I didn't taken my first sem c language class seriously 😒😳 and now I am facing difficulties in understanding data structure concept.But ur lectures are very helpful ........
And here i am ahead of my teachers, am in my first year and studying from this videos.
I like your way of dressing mam. Excellent collection of overcoats
Mam your way of explanation is very excellent ,thank you mam
Assalam o alikum mam. Mam your lecture are very good and helpful for me.
Plzzz make videos on
1. Prefix to Postfix
2. Postfix to Prefix
In data structure
Thanks a lot.
By
Your lectures are really good Mam, I enjoy them!!!!!
Ohhhh now you are enjoy her presence... She is married dear🤨
@@MRNEO-dj1rk thats what you do must be i come to study only ,you come maybe to do timepass 🥱🥱
@@MRNEO-dj1rk 🤣
Your lectures are really good ma'am..... Bt can u please make some videos on python programming language..... Then it will be a great help
I am from Nepal..you have very good skill of teaching ..madam
Hi jenny i am having a doubt that when I am using getch(), getche() functions I am getting an error can you explain a simple program how to use those functions in program.
mam in the example of gets you took the size of the character array 10 and then you took the input as jenny's lecture where it contains more than 10 character so how is this possible to get the character limit more than 10.
First comment and view good channel for CS students thank you so much mam 😊
Thank you so much mam ❤️
Your lecture are very helpful mam....... From kerala
Just loved your voice m not from cs still listening ur lecture with dedication
Hello mam, when you were explaining the getche() function. Then I did it on the editor,
#include
#include
void main()
{
char ch;
ch = getche();
printf("ch=%c", ch);
}
This was the program I wrote, I don't know if it's correct or wrong, it was giving an error. And I was not able to figure it out.
And I also didn't get any output for the rest of the functions as well....except getchar()
You have to include getch(); function after the printf() line to hold the screen
@@believer.1201 Oh..okay. Thank you so much!
@@BeautyofLanguage bro if u get the right output. Pls Send code here. I didnt get that
@@BeautyofLanguage Then also it shows program finished( before taking some character from user.)
Thank you, I like your videos, they are very detailed and very useful to review my C language knowledge (i'm not a professional, just fond of informatics); about gets(), I read it is deprecated due to buffer overrun risks
Well explained. Once also done on computer screen, everything will be very clear.
when using getch() in the program it is not taking any input it is showing an error like
Implicit declaration of function 'getch', do you mean 'getc'?
it is showing these error
its a warning not a error. execute that code.
the function getch() seems to be a non-standard function and may not be available on all platforms.
it needs the header file and even then will not work as it's been discontinued and only works in old compilers like turbo
Thank u mam for this explanation... I am from IT branch
While giving getch() it's not printing next line tht is printf statement alsoo? Why?
Maam please make a course on encryption
happy teachers' day madam
Mam so does this mean we can also use these unformatted inputs instead of formatted scanf ?
yess
Unformatted inputs have their disadvantages, in the sense that they are restricted to character values and ASCII values, but scanf allows you input any type of value you want using %c, %f, %d or %s, etc. This is to the level of my knowledge though :)
only getchar() and gets() are working
when I use getch(),getche() it's not working Can you please give reply for this query
you have to use #include
@@Chigo-nr8jgstill not working
mam i liked ur every video at starting and follow regularly mam.......
Praise the Lord jenny 😊
Your explanation and your voice and you nove
ma'am should we write header files for using unformatted functions
#include
int main ()
{
char ch;
ch= getchar();
printf("%c",ch);
return 0;
} // Thanks mam
Hello Jenny, Thank you so much for these helpful videos. I'm following you from USA. I tried to use the gets, getch functions however they don't work as intended. I think cuz they are not used anymore.
Just amazing madam ji 🙏
you teching patern verry valuble love you
Good explanation mam
Thank you 🔥🔥🔥
7:15 we want add #include conio.h
Thank you🎉
love you jenny you are the best
Tq ma'am
thanks mam for proper guide
Thank you mam
Looked up that song 'Jenny' and you showed up. lol :)
Very nice lecture, mam
ALT+F9 : Compile
CTRL+F9 : Run
after that we can use ALT+F5 to show the output.
Then what is the use of getch() ?
So when u run the output screen isn't seen directly so
We use getch at the end of the program such tht until u enter any character it would be showing u user screen
It is used instead of alt+f5
@@Hemalatha... 👏
Super sister you are sayingg soo nice
Mam I am watching all your lectures from starting ...
In this video I got a doubt in gets()
I would not get the expected output
And my Programme is
#include
#include
int main()
{
char ch;
ch=gets() ;
printf("
ch=%s",ch);
return 0;
}
I wrote the above code. It would executed but i would not get the expected output... Please reply mam...
Waiting for your reply mam
Because string is an array of characters. So we must specify array size while declaring it like char ch[20]. gets() is used to read string from the keyboard
Waiting for ur video's ❤
Tq mam
Tnks a lot for your videos mam❤️
when I started the video, I was confused about the playback speed. 😅. I thought it is has been set at 2x, but it was not 😅😂
Thank you mam ❤
Where r the places they are necessary?
No words mam.. 🙏🙏
mam plz provide notes for this playlist if possible mam
Maam I am not able to run getch and getche functions.
The prototype should be conio.h
thankyou ma'am 🙏
Wonderful
@Jenny's Lectures, mam will you please provide the notes of cprogramming.
How can I get this kind of program? Write a simple program that reads in 3 characters from the keyboard, and outputs to the screen on one line all three characters and the sum of their ASCII values.
#include
void main()
{
int sum;
char ch,ch1,ch2;
ch=getchar();
ch1=getchar();
ch2=getchar();
sum=ch+ch1+ch2;
printf("Sum of their ASCII value=%d",sum);
}
I am getting three characters in a different line.
Flag and count keyword in c explain it mam👍
Mam Please make a video about decision making statements in c🙏
Mam aap itna acha samjah the hoo to hindi me hi Bata diyo kar aapki kyuki 2x pe English bhaut hard ho jati hai or exam time me waise hi bahut pressure hota hai
Sb kuch thik hai bs marker sahi kr lijeye..kuch letter dark dhkte hai, or kuch bhut hi light colour me..
🤩🤩🤩
Ma'am , I had a doubt !! What if while using getchar() , we write it below printf(), then what is the difference between getchar () and getch() ??
in my opinion , it will be an error bcoz ch will not be having any value to give it in %c
Super mam
mam we want some practice question based on every topics. please
Why don't we use address operator in printf function?
Because we dont want the address of the variable as the output.printf function gives the output.the value stored in that variable is all we need as output not the address
first viewer
Madam how will I be an expert in programming while I am student of math.
U r love.. ly
This is my request to make a DAA video content
Mam for the gets() function it is showing abnormal program termination in output for the example you have given
In my case it is not taking any string on the output screen
Ma'am can you write a program to find binomial coefficients table?
members to those who knows being software engineer. how is it to the field. is it demanded to the world?
beeter to show the result in application apps(turdo c).
❤❤❤❤❤❤❤❤❤❤❤❤❤❤
Ma'am conio.h header file not working on ubuntu systems , it only works with windows operating systems how can I solve this problem?
Make videos on DAA
Thank you so much ma'am 👍
❤️🙏
Please madam make videos on DAA
What is this mean mam
while((ch[c]=getchar())!='
')
Jab tak next line me na jaye tab Tak enter
it take input till you press '
'(i.e enter)
1)every value is stored in array of ch[c].
done
🙂
Mam iam taken bsc maths with computer applications then I want to do data science is this a good choice to earn lot of salary please tell me mam...❤️
Mam You are dressing like madam curie😊
Iam 19 years old only but i love u so much mam. I have crush 😍😍😍
Padhai p dhyan do..teacher p ni..
@@JennyslecturesCSIT sorry mam i told this to erase it from my heart.
First comment
Can we do these unformatted I/o in Ubuntu terminal...If you have any notes or tutorial plz send .... Thank you madam.
does anyone know which header file can be used in linux to use getch,gets,getche. Iam using vim editor and gcc /make
Mam if it's possible plz share the material of c
Plz mam
mam if it is possible plz forward material
Mam I don't understand what you tell I was only looking you😂😂
while performing getch(), getche(), and gets() functions it is showing me an error where did I go wrong.
how to correct my mistakes
Add header file conio.h
No proper content in TH-cam regarding DAA so please make a videos on DAA
Hello mam please upload notes of c language
It is giving error on using getche
Not understood this lecture. Previous lectures are nice but this time you failed madam
anyone can suggest a good compiler
Mam how many vedios are still left
A lotttttttt......
Mam kindly cn u snd notes pdf
Mam I can't run this program