View Single Post
  #2 (permalink)  
Old July 25th, 2008, 03:09 PM
Old Pedant Old Pedant is offline
Friend of Wrox
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

You need to add
    #include <stdlib.h>

You could also turn off the warning, but adding the stdlib is the better answer.