bool saveobj(char* name,int obj);
name: The path, and name of object with file extension.
Result:
Success