Aktualizovat "program.c
This commit is contained in:
parent
5d7bfe3278
commit
efc7e57d77
@ -124,8 +124,8 @@ int search_string(const char* heap, const char* needle){
|
|||||||
}
|
}
|
||||||
//printf("%s\n",heap);
|
//printf("%s\n",heap);
|
||||||
//printf("%s",needle_2);
|
//printf("%s",needle_2);
|
||||||
int D = strlen(heap)-1;
|
int D = strlen(heap);
|
||||||
int G = strlen(needle_2);
|
int G = strlen(needle_2)-1;
|
||||||
printf("Dlzka hladaneho= %d\n",D);
|
printf("Dlzka hladaneho= %d\n",D);
|
||||||
printf("Dlzka celeho je %d\n",G);
|
printf("Dlzka celeho je %d\n",G);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user