Hi,
i was writing a blank console aplication in ms. visual c++ 2005 express edition
the above was code.Code:#include <iostream> #include <string> using namespace std; int main(void){ char *a="test"; char *b="east"; strcpy(a,b); cout<<a<<endl; cout<<b<<endl; int y=0; cin>>y; }
when i compile it,i get''' 'strcpy' was declared deprecated''' warnings. how do i get rid of them? some1 pls spot my error..thanks alot