Hello Guys ,

Iam new in c++ coding , so i want you to help to find a solution for this.

I need to read and write to the dat file using this struct:

Code:
typedef struct contact
{ 	
 char first[100]; 	
 char last[100]; 	
 char phone[50]; 
}contact;
Thanks