Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Podmienić inicjalizacje tablicy historyTab -> char historyTab[100][100];
- podmienić (całą) funkcje hisory ->
- void history(char *tab){
- for(int j = 0; j <= i; j++) {
- printf("%s\n", historyTab + j);
- }
- }
- podmienić w funkcji main dopisywanie do historii na -> strcpy(historyTab[i], command); i++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement