Aktualizovat "program.c
This commit is contained in:
parent
7f03b44c66
commit
5d7bfe3278
@ -126,6 +126,8 @@ int search_string(const char* heap, const char* needle){
|
||||
//printf("%s",needle_2);
|
||||
int D = strlen(heap)-1;
|
||||
int G = strlen(needle_2);
|
||||
printf("Dlzka hladaneho= %d\n",D);
|
||||
printf("Dlzka celeho je %d\n",G);
|
||||
|
||||
/* A loop to slide pat[] one by one */
|
||||
for (int i = 0; i <= G - D; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user