Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Problem

Status
Not open for further replies.

benaam

Programmer
Jan 11, 2001
20
US
Hi
How to convert from char arrays to strings?
For eg: in my program I have declared as follwing:

char c[20] = "hello";
String s;

Now i want to get the value of c into s. How do I do that?
Sample code would be useful

Thanx in Advance


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top