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
asif_khan_ak_07
New poster
Posts: 25
Joined: Fri Apr 17, 2009 8:24 am

string problem

Post by asif_khan_ak_07 »

How can the integer value given to a string be assigned to the particular index instead of the corresponding ASCII code.
mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Re: string problem

Post by mf »

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”