Update cv1/program.c
This commit is contained in:
parent
73fde4acc6
commit
88a52f07f1
@ -45,7 +45,7 @@ int read_pizza(struct pizza* item) {
|
|||||||
item->prize = strtof(line, NULL);
|
item->prize = strtof(line, NULL);
|
||||||
|
|
||||||
return (item->prize > 0) ? 1 : 0;
|
return (item->prize > 0) ? 1 : 0;
|
||||||
|
}
|
||||||
int find_string(const char* heap, const char* needle) {
|
int find_string(const char* heap, const char* needle) {
|
||||||
char normalized_heap[LINESIZE];
|
char normalized_heap[LINESIZE];
|
||||||
char normalized_needle[LINESIZE];
|
char normalized_needle[LINESIZE];
|
||||||
|
Loading…
Reference in New Issue
Block a user