RSS Forums RSS
Please support our C++ advertiser: Programming Forums

array/funtion problem, please help

Join Date: Jul 2007
Location: Florida
Posts: 19
Reputation: xander85 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
xander85's Avatar
xander85 xander85 is offline Offline
Newbie Poster

Re: array/funtion problem, please help

  #7  
Jul 31st, 2007
omg what school you going to?

inString would be a varible that you would declare somewhere b4 you use it in the:
cin>> inString //statement

i.e.

string inString; //Now memory is allocated for the user to input a string of characters, not including spaces, (you'll learn how to handle white spaces later, with a simple function)....

//Now you can use the memory to store the users input...

i.e.

cin >> inString;
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:06 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC