Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Podmienić inicjalizacje tablicy historyTab -> char historyTab[100][100];
  2. podmienić (całą) funkcje hisory ->
  3. void history(char *tab){
  4. for(int j = 0; j <= i; j++) {
  5. printf("%s\n", historyTab + j);
  6. }
  7. }
  8.  
  9. podmienić w funkcji main dopisywanie do historii na -> strcpy(historyTab[i], command); i++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement