Computing.Net > Forums > Programming > C++ strings

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

C++ strings

Reply to Message Icon

Original Message
Name: minorix46
Date: May 6, 2006 at 15:37:31 Pacific
Subject: C++ strings
OS: windows xp
CPU/Ram: 1.5/512
Comment:

Hello all. I am having a little of a problem. I used to know how to do this but it has been a while since I have programmed with C++.I am trying to develop a small program which will allow me to receive input with multiple lines.
EX: Line1 input
Line2 input

How would I be able to use strings/arrays in order to accomplish this?

2d arrays?


Report Offensive Message For Removal


Response Number 1
Name: Hylas
Date: May 8, 2006 at 20:23:32 Pacific
Reply: (edit)

cin.getline()


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software