| Title | c_izmjena_binarnih_datoteka_challenge |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/Append_i_read-update_mod_za_binarne_datoteke__6951e616136f190edb6cb3d2?index=1 |
| Platform Name | PCEX |
| Features | — |
| Description | Napisati program koji radi s binarnom datotekom poruke.dat. Datoteka sadrži jednu kratku tekstualnu poruku fiksne dužine (niz znakova) od maksimalno 50 znakova. Program treba otvoriti datoteku u update režimu, pomjeriti kursor na početak datoteke pomoću funkcije fseek i zamijeniti postojeću poruku novom porukom unesenom sa tastature, koristeći funkciju fwrite. Nakon uspješnog upisa program treba zatvoriti datoteku i ispisati poruku o uspješnom ažuriranju. Ukoliko datoteku nije moguće otvoriti, program treba ispisati odgovarajuću poruku o grešci. |
| Keywords | — |
| Author | Amina Hromic |
| Institution | Elektrotehnički fakultet Univerziteta u Sarajevu |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/Append_i_read-update_mod_za_binarne_datoteke__6951e616136f190edb6cb3d2?index=1 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | C |
| Natural Language | bs |