On Mon, Apr 27, 2009 at 08:52:20PM -0600, Jessie Morris wrote:
> file.write(reinterpret_cast<char *>(items),sizeof(int));

Assuming that items is an int, you'll probably want &items instead of
items.

-- 
Byron Clark

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to