lets say there is a sentence like this \"helloworld\" is saved in an arry called
ID: 3615941 • Letter: L
Question
lets say there is a sentence like this "helloworld" is saved in an arry called original the unlocking charcter is "W" .. the code searches for the "w" when it finds the "w" it saves it and what is after it in a new array of charcters called first .. however before it finds the "w" it should save the letters in an array called second .. at last it refills the array original with array first and when it is done it fills it with array second ...
# include
# include
using
int
{
string un_lock;
string secret;
string the_secret;
cout<<
cin>>rings;
cout<<
cin>>un_lock;
cout<<
cin>>secret;
cout<<
cin>>string_in[i][j];
//this is the crazy part
{
{
second[j][i]=string_in [j][i];
first[j][z]=string_in[j][i++];
}
}
{
string_in[j][i]=first[j][i];
string_in[j][i++]=second[p][z];
}
{
sec_char=secret[i];
sec_pos=i;
}