I want to start the strings from n letters after the start of the string.. how do i do that ?
Forget using C-style character array strings, learn to use C++ strings.
http://www.cplusplus.com/reference/string/basic_string/
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <iostream>
#include <string>
int main()
{
std::string text = "this is a very long string...";
// create a sub-string starting at the 6th character (index 5)
std::string text2 = text.substr(5);
std::cout << text2 << "\n";
return 0;
}