strtok and srtcpy

i`v used strtok and strcpy but i have this error :
warning c4996 strtok this function or variable may be unsafe. consider using strtok_s insted . to disable deprecation usee........
can u help me please?
That's not an error. It's a warning. It's telling you that there are better functions to use than strtok.
bit it is not building and debugging !!!
Well then there must be an error. Do you get any messages actually containing the word "error"?
#ifndef __move_h_
#define __move_h_
#include "Command.h"
#include "Risc.h"

class move :
public Command
{
public:
move();//c'tor
~move(void);//d'tor

void Execute();// executes the move command from the file
inline void setParam1(const unsigned long& val);//sets the val to be the first parameter for the move command
inline void setParam2(const unsigned long& val);//sets val to be the second parameter for the ove command
};

inline void move::setParam1(const unsigned long& val)
{
param1 = val;
}

inline void move::setParam2(const unsigned long& val)
{
param2 = val;
}


#endif




'move' ambiguous symbol could be move ' or 'move'

maybe this caused the fail !! do u know what that mean ?!
C++ already has something named move. It is asking for trouble to give your own classes identical names to existing C++ functions.
Can you psot your code if it isn't too big? And please wrap it with the <> tags on the right.
Topic archived. No new replies allowed.