Hi

I have these two simple files and I want to add them to a project:

this the h file

class OPStringa
{
public:
CString Duplicate(CString s);
}
//////////////////////////////////////////////////////
this is the cpp file

#include "stdafx.h"
#include "OPStringa.h"


CString OPStringa:: Duplicate(CString s)
{
CString a;
a=s+s;
return a;
}


When I build the project I obtain two errors:

error C2143: syntax error : missing ';' before 'tag::id'
fatal error C1004: unexpected end of file found

Please Help me

Thanks