Starting from:

$25

CSE101-Homework 4 Solved

Write a program in C language. The program will read and write file and fill a structure type. The file contains disorganized details about people. You should read properly for every person’s detail, and write properly. And you have to write a file like that:

ID                 NAME
SIR NAME
MAIL
05122018    Ozgu
 GOKSU
ogoksu@gtu.edu.tr
•       You should use functions for every purpose. For example; readDataFromFile(records, FILE *fp), writeDataToFile(records, FILE *fp), etc where records is a pointer to array of structures.

•       You should use structure which contains name, sir name, ID, e-mail.

•       You should put all details about people in structures.

•       You can use “hw4_disordered_people.txt” as a file to read.

•       You should create a new ordered file.

•       You have to send ordered file in zip directory.

Upload your files (main.c, orderedFile.txt, ..) in a .zip or .rar file on moodle. The zip name should be in the same in the form of : number_name_surname (ex:181041001_ozgu_goksu.zip).

More products