Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.
Moderators: cheriff, Herben
-
cola_man
- Posts: 1
- Joined: Sat Dec 31, 2005 4:32 am
Post
by cola_man »
Hey I just started dev and have recently been getting into c/c++ programming and was wondering how would I center my text?
So far that is my code but I don't feel like spacing my text till it gets to the center is there a easier way?
-
weltall
- Posts: 310
- Joined: Fri Feb 20, 2004 1:56 am
-
Contact:
Post
by weltall »
you could try this:
void scr_setXY(int x, int y);
by using also this for the y int scr_getY(void);
and then you scr_printf