Basically I have 2 variables, szRecvBuff and param. I want param's value to be the same as szRecvBuff's value, except the first two letters in szRecvBuff are NOT in param. I set up this code:
for (int z = 2; z < (strlen(szRecvBuff)); z++)
I get this error:
error C2660: 'strcpy_s' : function does not take 2 arguments
Of course strcpy_s takes 2 arguments, so what the hell's the problem? I'm using VC++ 2005 btw.