Hi
I looking for example of program, that modify string inside his exe.
I work with C++, Visual Studio under Windows.
I searched in internet for working examples in Windows, but I doesn't find any working code.
I need simple code, that will ask user for string:
string strTest = "";
(if strTest != "")
{
cout << "Modified: " << strTest << endl;
}
cin >> strText;
And code should rewrite:
string strTest = "";
To string that typed user:
string strTest = "SomeStringFromUser";
How program in C++ can modify string in itselfs exe (from string strTest = ""), to string, what user typed? (for example to strTest = "foo").
If you know, please write sample code, that will show modyfing strings.
Thanks
Jasmin25