Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Strings in C++ forms app

$
0
0

I am writing a C++ forms app in VS 2012 using the .net 4.5 frame work.  What I need to do is I need a array or a string (what ever would be easier to use) and find the char at a certian pos of the string or array.  In example.

If i had the string "1234567890ASDFGHJKL"

I would have to find the char at pos X, So I need to see what char is at pos 5, in this case it would be 5.  I can figure out how to find the char in the location of the string.

I have found out the reverse methos of this by using the indexof(X) and I got this to work, i just need it to work in the other direction.

Any help would be nice


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>