C Application (File Operations )
This tutorial shows us that how to read from txt file , storing in the array structer and searching from that array structer.For this tutorial you need to create a txt file named phonebook and write name , surname and number like this . Garen Haddeler 87143232141 Ali Emre 231241421 Name Surname 23123124124 ..................................................... You all succed!! mail me if you have question or suggestion mail:g.haddeler@gmail.com C Codes : ---------------------------------- #include <stdio.h> #include <string.h> #include <conio.h> // Program creates an array structer and stores the chars that taken from phonebook.txt file . //It has two other function that searching name and last name individually struct phonebook{ char name[16]; char surname[21]; char num[11]; }; int name_searching(char *FirstName, int size ); ...