collapse collapse

* Who's Online

  • Dot Guests: 173
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Board Stats

  • stats Total Members: 88
  • stats Total Posts: 11164
  • stats Total Topics: 1700
  • stats Total Categories: 4
  • stats Total Boards: 76
  • stats Most Online: 1470

Author Topic: C++ Program help  (Read 2370 times)

0 Members and 1 Guest are viewing this topic.

truekind

  • Guest
C++ Program help
« on: February 13, 2011, 11:22:44 am »
Hi, This is my task

Write a program that reads several lines of text from the keyboard and prints a table indicating the number of occurrences of each letter of the alphabet and the number of one-letter words, two-letter words, three-letter words, etc., appearing in the text. Assume that the maximum length of a word is 10 characters long. For this program you should use at least three functions.

-If not give me the whole program but could someone just explain what to use and like pointers on how to do this program... it would be very helpful. plz and thnak u

Offline Nathan

  • Administrator
  • Hero Member
  • *
  • Posts: 1437
  • Reputation 1768
  • Gender: Male
  • woof woof
    • View Profile
Re: C++ Program help
« Reply #1 on: February 13, 2011, 12:42:24 pm »
Hi, This is my task

Write a program that reads several lines of text from the keyboard and prints a table indicating the number of occurrences of each letter of the alphabet and the number of one-letter words, two-letter words, three-letter words, etc., appearing in the text. Assume that the maximum length of a word is 10 characters long. For this program you should use at least three functions.

-If not give me the whole program but could someone just explain what to use and like pointers on how to do this program... it would be very helpful. plz and thnak u
File I/O - http://celestialcoding.com/index.php?topic=22.0
Arrays - http://celestialcoding.com/index.php?topic=20.0

Let use know when you got some code written up and we can help you from there. From your experience in the class you should be able to write the starting int main() with the necessary includes.
Projects:
[ Axios Engine ] [ sourcehub ]
Compilers: Microsoft Visual Studio 2008, GNU C++, FASM, MASM, VB 6/.Net.
Languages: C++, PHP, ASM, JS, VB6/.Net, BASIC, HTML, MySQL
Please buy me some books: Amazon Wishlist

 

Donate


* Search


* Recent Posts

I miss the chatbox by Shishka
[August 27, 2019, 11:52:39 pm]


Image Comparison by Shishka
[May 15, 2017, 01:18:02 pm]


Re: srchub - free source code hosting by Nathan
[December 14, 2015, 11:37:02 pm]


Re: srchub - free source code hosting by Celestialkey
[November 27, 2015, 08:51:42 am]


Updates by Nathan
[October 30, 2015, 08:27:36 pm]