Hi friends,
Kindly help me in this...i have to print the values of input and languagepair
i tried this first

CString Add(CString input,CString languagePair)
{
    CString url ;
    url.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text= %s &langpair= %s ", input, languagePair);
}

i got error
then i tried this

CString Add(CString input,CString languagePair)
{
    CString url ;
    url.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text= {0}&langpair= {0} ", input, languagePair);
}

Thanks in advalce...sherin

Could be little bit clear in explaining the error. i tried compiling your code and it works Perfect in my VC6.0 Compiler.