druhy upload

This commit is contained in:
Damián Korpesio 2021-10-04 17:54:42 +02:00
parent abe4009ef8
commit 643165b818

View File

@ -1,5 +1,44 @@
#include <stdio.h> #include <stdio.h>
#include <string.h>
#define LINESIZE 100
struct Pizza {
float prize;
char name[LINESIZE];
};
int nacitaj(struct Pizza* polozka){
return 0;
}
int matches(heap, needle){
return 0;
}
char r[LINESIZE];
char hacker_script(char c){
if (c == '5'){
r == 'S';
}
return r;
}
int main (){
char search_string[LINESIZE] = "Ostiepkova";
while(1){
char *r = fgets(line, LINESIZE, stdin);
if (r == NULL){
break;
}
struct Pizza pizza;
memset(line, 0, sizeof(struct Pizza));
strcpy(pizz->name, line);
if (matches(search_string, line)){
printf("%s", pizza->name)
}
}
int main (){
return 0; return 0;
} }