hey guys umm this might seem really stupid but for reasons i would rather leave unsaid i want to make an encryption program and by this i mean a program that will turn a string into numbers and funnel into a file then when selected take the contents of the file and turn it back into a string then printed.
now i have most of this down, all of it, really but i dont know how to select multiple characters in a string.
like string r = "hello"; if you want to print the h you say
cout << r[0];
but what if i wanted to print the h and the e?