a4f26594f0
* Replace Buffer::isEof with Buffer::eof so I can use the agent-specific ASSERT macro instead of the standard assert(). * If an API call in Win32Console fails, print a message using Trace. * Add Coord::toString and SmallRect::toString functions.
10 lines
161 B
C++
10 lines
161 B
C++
#include "Coord.h"
|
|
#include <stdio.h>
|
|
|
|
std::string Coord::toString() const
|
|
{
|
|
char ret[32];
|
|
sprintf(ret, "(%d,%d)", X, Y);
|
|
return std::string(ret);
|
|
}
|