Purchase Solution

coding a word counter

Not what you're looking for?

Ask Custom Question

Seeking help with coding a word counter. I have 2 codes that I'm working with and I not sure where I went wrong with them. Text file with code provided..Visual C++

Purchase this Solution

Solution Summary

Help with coding a word counter is achieved. Visual C++ is determined.

Solution Preview

There are some hard to understand errors in both of your programs.
For example in 1)
this is probably trying to say that our words cannot be longer than 5 letters!

const int size = 5;
char WordString[size];

Why does word length begin from 5?
int wordlength = 5;

Why does it count a word if wordlength >0, since, according to above, ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.