Added a debug display

This commit is contained in:
Kayne Ruse
2013-10-11 20:07:57 +11:00
parent 871b1136c2
commit 0d3c3243a0
4 changed files with 125 additions and 6 deletions
+6
View File
@@ -45,3 +45,9 @@ std::string truncatePath(std::string pathname) {
}).base(),
pathname.end());
}
std::string to_string_custom(int i) {
char buffer[20];
snprintf(buffer, 20, "%d", i);
return std::string(buffer);
}