string problem

Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.

Moderator: Board moderators

Post Reply
New poster
Posts: 25
Joined: Fri Apr 17, 2009 8:24 am

string problem

Post by asif_khan_ak_07 » Mon Jun 08, 2009 8:36 pm

How can the integer value given to a string be assigned to the particular index instead of the corresponding ASCII code.

Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland

Re: string problem

Post by mf » Mon Jun 08, 2009 9:15 pm

What language are you talking about, what kind of strings?
And exactly what are you trying to accomplish by that?

If it's C++ and STL, have you thought about using vector<int> or basic_string<int>?

Post Reply

Return to “Other words”