On 9/12/07, Rick <[EMAIL PROTECTED]> wrote:
> One more question. Suppose the strings are coming from argv[]. In C, I'd say:
>
> strcpy(Path, argv[1]);
> strcat(Path, "\\");
> strcat(Path, argv[2]);
>
> How do I get the argv[] values into C++ strings?
string a(argv[1]);
a += argv[2]; //I think you can concatenate a C string directly like this
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi