Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~492 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags
c++ x 5

3 Posted Topics

Member Avatar for restrictment

I hope i answer your question right... "How do I read a 'line', not a word from a text file?" There needs more to this code, just a base outline of getline. [CODE] #include <string> // library that can is used string ____; //delcare varible name getline(fstream name, string name); …

Member Avatar for trcartmill
0
237
Member Avatar for trcartmill

I need to string names from a text file which the name will output no more than 29 characters and no commas. My output displays no commas, but i cant figure out how to count the characters and output no more than 29 characters in the name. I think I …

Member Avatar for Lerner
0
143
Member Avatar for trcartmill

[CODE]void GetData(fstream& In, string& Name, double& Acres, int& Jars); /*Pre: The stream in is open for input. Post: Returns the name of less than or equal 29 characters, acres and number of jars. */[/CODE] I am using this function to pull names from an infile. The first line of the …

Member Avatar for Clinton Portis
0
112

The End.