C++ Program: Counts how many times each word appears in the input

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 21

  • @wayneyuan123
    @wayneyuan123 8 лет назад +6

    how can you just press Enter to end the program without press ^Z?

  • @quattrontech188
    @quattrontech188 5 лет назад +2

    Thank you sooo much.. well explained brother. I was looking for something like for 3 days once again thanks keep up the good work!!!

  • @ingrid1156
    @ingrid1156 3 года назад

    I took part in a contest and one of 3 questions was this one. I wish I had watched this earlier ;))))

  • @monicatorres4881
    @monicatorres4881 7 лет назад +2

    helped a lot with my homework assignment. thanks!

  • @neilteriote9929
    @neilteriote9929 6 лет назад +1

    how can i change the word ^Z to stop the program , please help me

  • @Thadnill
    @Thadnill 7 лет назад +1

    Hello, i want to create a similar program but instead i want my program to read all the words form a textfile, and i also want to be able to chose how many words of the text file the program should count and sort, how would that differ from this code? I have already included my ifstream in my code. I think the tricky part is how to code so i can chose how many words the program will output for me?

  • @shamimsarker6230
    @shamimsarker6230 6 лет назад +2

    Thank you sooo much.. well explained brother. ❤️❤️❤️❤️ Love from #Bangladesh.

  • @Anto-mi5pn
    @Anto-mi5pn 4 года назад

    What if the input is a string of words rather than a collection of words?

  • @collman505
    @collman505 4 года назад

    Thankn you so much! I couldnt find anywhere else this!

  • @baranbati2361
    @baranbati2361 4 года назад

    hello, When I copy your steps the result isn't with decending order but with alphabetic order? did the "sort" command change over the 5 years?

    • @hunormarosi2279
      @hunormarosi2279 2 года назад

      it is because at that time in the program you just sort the words in alphabetic order to see that how many same words are there

  • @muskangupta7717
    @muskangupta7717 4 года назад

    How to stop program and see results..cntrl+z is not working

  • @taylorjenkins1291
    @taylorjenkins1291 6 лет назад

    can you create one for visual basic programming language?

  • @mariav1234
    @mariav1234 8 лет назад +1

    Thanks for posting this.

  • @ArtemM3D
    @ArtemM3D 8 лет назад +1

    Pretty useful, thanks.

  • @dasamantharaorohit2866
    @dasamantharaorohit2866 8 лет назад +1

    nice

  • @mijimaisuka3027
    @mijimaisuka3027 3 года назад

    Huge help awesome.
    By any chance you can help me with this write a simple C++ program that controls speed of a motor using the same head file
    #include
    using namespace std;
    int main()

  • @xMrJanuaryx
    @xMrJanuaryx 5 лет назад

    Bruh your voice doesn't work or what?