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

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

  • @krishanushekhar966
    @krishanushekhar966 ปีที่แล้ว +73

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

    • @aloksahu8896
      @aloksahu8896 หลายเดือนก่อน

      And here i am ahead of my teachers, am in my first year and studying from this videos.

  • @laxminarayanadunna8178
    @laxminarayanadunna8178 2 ปีที่แล้ว +15

    I like your way of dressing mam. Excellent collection of overcoats

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

    Mam your way of explanation is very excellent ,thank you mam

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

    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

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

    Your lectures are really good Mam, I enjoy them!!!!!

    • @MRNEO-dj1rk
      @MRNEO-dj1rk 3 ปีที่แล้ว +6

      Ohhhh now you are enjoy her presence... She is married dear🤨

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

      @@MRNEO-dj1rk thats what you do must be i come to study only ,you come maybe to do timepass 🥱🥱

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

      @@MRNEO-dj1rk 🤣

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

    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

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

    I am from Nepal..you have very good skill of teaching ..madam

  • @vennapujitha9190
    @vennapujitha9190 11 หลายเดือนก่อน +3

    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.

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

    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.

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

    First comment and view good channel for CS students thank you so much mam 😊

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

    Thank you so much mam ❤️

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

    Your lecture are very helpful mam....... From kerala

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

    Just loved your voice m not from cs still listening ur lecture with dedication

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

    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()

    • @believer.1201
      @believer.1201 2 ปีที่แล้ว +2

      You have to include getch(); function after the printf() line to hold the screen

    • @BeautyofLanguage
      @BeautyofLanguage 2 ปีที่แล้ว +1

      @@believer.1201 Oh..okay. Thank you so much!

    • @ShyamSundar-xd4lb
      @ShyamSundar-xd4lb 2 ปีที่แล้ว

      @@BeautyofLanguage bro if u get the right output. Pls Send code here. I didnt get that

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

      @@BeautyofLanguage Then also it shows program finished( before taking some character from user.)

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

    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

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

    Well explained. Once also done on computer screen, everything will be very clear.

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

    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

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

      its a warning not a error. execute that code.

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

      the function getch() seems to be a non-standard function and may not be available on all platforms.

    • @Chigo-nr8jg
      @Chigo-nr8jg ปีที่แล้ว

      it needs the header file and even then will not work as it's been discontinued and only works in old compilers like turbo

  • @sumantadky5603
    @sumantadky5603 2 ปีที่แล้ว +1

    Thank u mam for this explanation... I am from IT branch

  • @Sreychoreophile
    @Sreychoreophile 4 หลายเดือนก่อน +2

    While giving getch() it's not printing next line tht is printf statement alsoo? Why?

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

    Maam please make a course on encryption

  • @shashank_kishore_
    @shashank_kishore_ 14 วันที่ผ่านมา

    happy teachers' day madam

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

    Mam so does this mean we can also use these unformatted inputs instead of formatted scanf ?

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

      yess

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

      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 :)

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

    only getchar() and gets() are working
    when I use getch(),getche() it's not working Can you please give reply for this query

    • @Chigo-nr8jg
      @Chigo-nr8jg ปีที่แล้ว

      you have to use #include

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

      ​@@Chigo-nr8jgstill not working

  • @user-jee5pj7yg543h
    @user-jee5pj7yg543h ปีที่แล้ว

    mam i liked ur every video at starting and follow regularly mam.......

  • @user-od5gw8eb9g
    @user-od5gw8eb9g 8 หลายเดือนก่อน

    Praise the Lord jenny 😊

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

    Your explanation and your voice and you nove

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

    ma'am should we write header files for using unformatted functions

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

    #include
    int main ()
    {
    char ch;
    ch= getchar();
    printf("%c",ch);
    return 0;
    } // Thanks mam

  • @superhamid40
    @superhamid40 10 หลายเดือนก่อน

    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.

  • @Ajaypatel-me7zn
    @Ajaypatel-me7zn 3 ปีที่แล้ว +1

    Just amazing madam ji 🙏

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

    you teching patern verry valuble love you

  • @user-uu6xe5rx5m
    @user-uu6xe5rx5m 2 ปีที่แล้ว +1

    Good explanation mam

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 2 ปีที่แล้ว +1

    Thank you 🔥🔥🔥

  • @Vishal-one8
    @Vishal-one8 ปีที่แล้ว +1

    7:15 we want add #include conio.h

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

    love you jenny you are the best

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

    Tq ma'am

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

    thanks mam for proper guide

  • @tps8470
    @tps8470 2 ปีที่แล้ว +1

    Thank you mam

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

    Looked up that song 'Jenny' and you showed up. lol :)

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

    Very nice lecture, mam

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

    ALT+F9 : Compile
    CTRL+F9 : Run
    after that we can use ALT+F5 to show the output.
    Then what is the use of getch() ?

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

      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

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

      @@Hemalatha... 👏

  • @gudiboinavikram5866
    @gudiboinavikram5866 7 หลายเดือนก่อน

    Super sister you are sayingg soo nice

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

    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

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

      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

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

    Waiting for ur video's ❤

  • @sachingupta-nm3vx
    @sachingupta-nm3vx 3 ปีที่แล้ว +1

    Tq mam

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

    Tnks a lot for your videos mam❤️

  • @mayankaggarwal1690
    @mayankaggarwal1690 8 หลายเดือนก่อน +1

    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 😅😂

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

    Thank you mam ❤

  • @siva0333
    @siva0333 8 หลายเดือนก่อน +1

    Where r the places they are necessary?

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

    No words mam.. 🙏🙏

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

    mam plz provide notes for this playlist if possible mam

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

    Maam I am not able to run getch and getche functions.

    • @sp2949
      @sp2949 6 หลายเดือนก่อน

      The prototype should be conio.h

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

    thankyou ma'am 🙏

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

    Wonderful

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

    @Jenny's Lectures, mam will you please provide the notes of cprogramming.

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

    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.

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

    Flag and count keyword in c explain it mam👍

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

    Mam Please make a video about decision making statements in c🙏

  • @harshvardhan8526
    @harshvardhan8526 6 หลายเดือนก่อน

    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

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

    Sb kuch thik hai bs marker sahi kr lijeye..kuch letter dark dhkte hai, or kuch bhut hi light colour me..

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

    🤩🤩🤩

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

    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() ??

    • @tushaar2593
      @tushaar2593 10 หลายเดือนก่อน

      in my opinion , it will be an error bcoz ch will not be having any value to give it in %c

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

    Super mam

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

    mam we want some practice question based on every topics. please

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

    Why don't we use address operator in printf function?

    • @believer.1201
      @believer.1201 2 ปีที่แล้ว +1

      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

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

    first viewer

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

    Madam how will I be an expert in programming while I am student of math.

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

    U r love.. ly

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

    This is my request to make a DAA video content

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

    Mam for the gets() function it is showing abnormal program termination in output for the example you have given

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

      In my case it is not taking any string on the output screen

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

    Ma'am can you write a program to find binomial coefficients table?

  • @snowvirus2033
    @snowvirus2033 11 หลายเดือนก่อน

    members to those who knows being software engineer. how is it to the field. is it demanded to the world?

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

    beeter to show the result in application apps(turdo c).

  • @shashank_kishore_
    @shashank_kishore_ 22 วันที่ผ่านมา

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @Andrew-ee8bi
    @Andrew-ee8bi 2 หลายเดือนก่อน

    Ma'am conio.h header file not working on ubuntu systems , it only works with windows operating systems how can I solve this problem?

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

    Make videos on DAA

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

    Thank you so much ma'am 👍

  • @aditia.d2824
    @aditia.d2824 3 ปีที่แล้ว

    ❤️🙏

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

    Please madam make videos on DAA

  • @k.annpurnamma3357
    @k.annpurnamma3357 3 ปีที่แล้ว +1

    What is this mean mam
    while((ch[c]=getchar())!='
    ')

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

      Jab tak next line me na jaye tab Tak enter

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

      it take input till you press '
      '(i.e enter)
      1)every value is stored in array of ch[c].

  • @abhishekpawar5804
    @abhishekpawar5804 8 หลายเดือนก่อน

    done

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

    🙂

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

    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...❤️

  • @sunilpachuru5975
    @sunilpachuru5975 11 หลายเดือนก่อน

    Mam You are dressing like madam curie😊

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

    Iam 19 years old only but i love u so much mam. I have crush 😍😍😍

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

      Padhai p dhyan do..teacher p ni..

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

      @@JennyslecturesCSIT sorry mam i told this to erase it from my heart.

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

    First comment

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

    Can we do these unformatted I/o in Ubuntu terminal...If you have any notes or tutorial plz send .... Thank you madam.

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

    does anyone know which header file can be used in linux to use getch,gets,getche. Iam using vim editor and gcc /make

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

    Mam if it's possible plz share the material of c
    Plz mam

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

    mam if it is possible plz forward material

  • @Bhabhiloverg
    @Bhabhiloverg 3 หลายเดือนก่อน +1

    Mam I don't understand what you tell I was only looking you😂😂

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

    while performing getch(), getche(), and gets() functions it is showing me an error where did I go wrong.
    how to correct my mistakes

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

    No proper content in TH-cam regarding DAA so please make a videos on DAA

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

    Hello mam please upload notes of c language

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

    It is giving error on using getche

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

    Not understood this lecture. Previous lectures are nice but this time you failed madam

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

    anyone can suggest a good compiler

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

    Mam how many vedios are still left

  • @bhavyaGowda-h6o
    @bhavyaGowda-h6o ปีที่แล้ว

    Mam kindly cn u snd notes pdf

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

    Mam I can't run this program