246
2009-10-25 13:05:25
10
#include "include.h"
#include "people.h"
CPEOPLE *MAN;
int main()
{
MAN = new CPEOPLE[MAX_PEOPLE];
MAN[_FIRST].SetState(STATE_BOTTOM | STATE_STEADY);
MAN[_SECOND].SetState(STATE_TOP);
if(MAN[_FIRST].GetState() & STATE_STEADY)
MAN[_SECOND].SetState(MAN[_SECOND].GetState() | STATE_SAFE);
delete MAN[];
return ERROR_SUCCESS;
}