Exemple #1
0
int main(int argc, char* argv[])
{
    FILE* file = NULL;
    STRING** table = NULL;
    int max = 0;

    checkParam(argc);

    file = fopen(argv[1], "r");
    checkFile(file, argv[1]);
    table = readFile(file);
    max = findMax(table);
    printMax(file, table, max);
    destroyTable(table);

    return 0;
}
Exemple #2
0
int BitmapFont::print (const std::string& text, const Color& color, int x, int y, bool rotate) const
{
	return printMax(text, color, x, y, -1, rotate);
}