SHARE
TWEET

Untitled

a guest Mar 26th, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void afisareLiniiString(t_table* table){
  2.     t_stringLine* linii = table->lines;
  3.     while(linii != NULL){
  4.         t_stringCell* celule = linii->cells;
  5.         int x = 0;
  6.         while(celule != NULL && celule->value != NULL){
  7.             printf("%s", celule->value);
  8.             //if(celule->next != NULL){
  9.             int diff = PADDING - strlen(celule->value) + 1 ;
  10.             //printf("!%ld!", strlen(aux));
  11.             while(diff != 0){
  12.                 printf(" ");
  13.                 diff--;
  14.             }
  15.             // }
  16.             celule = celule->next;
  17.         }
  18.         printf("\n");
  19.         linii = linii->next;
  20.     }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top