hello, i realy can't figure this out. i have tried to search, but i cant find any topics to match "convert string to string" :rolleyes:
here is what i tired:
i thought this code might work.. but doesn't, i thought it would 'trick' the compiler. hehCode:
#include <iostream>
#include <string>
using namespace std;
int main()
{
string stra;
char strb[100];
int mim;
stra = "test";
mim = (int)stra;
strcpy(strb, (char)mim);
}