//*************************************** //binary file //*************************************** #include #include using namespace std; //======================================== int main(){ char word[20]; char word2[20]; ofstream out("myword",ios::binary|ios::out); if(!out){ cout<<"Error opening file\n"; return 1; } cout<<"insert your name\n"; cin>>word; out.write(word,20); out.close(); ifstream in("myword",ios::binary|ios::in); if(!in){ cout<<"Error opening file\n"; return 1; } in.read(word2,20); cout<