Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void display(char *core) {
- printf ("\33c\e[3J");
- char (*p_array)[size_x] = core;
- for (int y = 0; y < size_y; y++) {
- for (int x = 0; x < size_x; x++) {
- printf("%c", p_array[y][x]);
- }
- printf("%c", "\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement