Advertisement
HeroBaga

Untitled

Aug 22nd, 2021
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. void display(char *core) {
  2. printf ("\33c\e[3J");
  3. char (*p_array)[size_x] = core;
  4. for (int y = 0; y < size_y; y++) {
  5. for (int x = 0; x < size_x; x++) {
  6. printf("%c", p_array[y][x]);
  7. }
  8. printf("%c", "\n");
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement