GrAPiC
Graphics for Algo/Prog in C/C++

◆ print() [1/3]

void grapic::print ( int  x,
int  y,
const char *  txt 
)

Print the text txt , up left corner is (x,y)

fontSize(24); // Change the default font to the size 24
print( 10, 20, "Bonjour"); // Print the text "Bonjour" with the left corner (10,20)
void print(int x, int y, const char *txt)
Print the text txt , up left corner is (x,y)
void fontSize(int s)
Change the default size of the font.
Definition: Grapic.h:519