Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #ifndef DEBUG
- #define DEBUG(...) printf(__VA_ARGS__)
- #endif
- // Napisati funkciju koja vraca broj stranica polihedrona
- int get_face_number(char word[]) {
- }
- int main() {
- char word[128];
- int sum = 0;
- // Deklaracija i otvaranje datoteke
- FILE *fp;
- fp = fopen("input.dat", "r");
- // Procitati sadrzaj datoteke i prebrojati broj stranica svakog polihedrona
- printf("%d\n", sum);
- // Zatvoriti datoteku
- fclose(fp);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement