Okay so after getting my bubble sort algorithm to work I've decided to code a program to put words in alphabetical order. My problem is I want to make an array of string and then access a certain letter in the string but im not sure how to do that...
I know if you want to see say the first character you would do this:
so it would print out bCode:string sample;
sample = bob;
cout<< sample[0];
but my problem is having the string as part of an array and wanting to access a ceratin charactar of an index of an array so say you wanted to see what was the first character of the fifth string in an array how would you go about that...