Menu

Dev C++ Word Count

Tom
2009-04-20
2012-09-26
  • Tom

    Tom - 2009-04-20

    Hi, Im new to Dev C++. I know the very basics and can compile basic programmes. But my knowledge is very limited.

    Recently I was tasked with a project to create a programme where the user inputs a sentence and the word count is produced. The simpliest way I can think of doing it is by counting the spaces in the sentence then adding 1 to this. After research it seems that 'isspace' is the term that is required to crack the problem but i have no idea how to go about using it in my programme.

    Any help would be much appreciated.

     
    • cpns

      cpns - 2009-04-20

      Your question has been answered on the DevShed forum.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.