i am taking a cpsc 140 class and i'm a little confused how to begin my assignment. Write a C++ program that reads in an unknown number of characters from the a text file, count the number of words, and print each word in reverse to the screen.
Words are delimited by blanks, tabs, newlines and the end of file. Note that mulitple whitespace characters should only count one word. Hint: You can use the get method to enter whitespace . i dont recall what the get method is. if anyone can start me out i would be greatly appreciated. thanks :)
mak 23 0 Newbie Poster
serfurj 7 Light Poster
mak 23 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
jwenting 1,889 duckman Team Colleague
mak 23 0 Newbie Poster
jwenting 1,889 duckman Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.