#include World::World(float width){ unsigned int i; lineCount=width/HLINE; if((line=(struct line_t *)calloc(lineCount,sizeof(struct line_t)))==NULL){ std::cout<<"Failed to allocate memory!"<