#include #include #include #include #include #define BUFFER_SIZE 20000 #define NUM_CHAR_PER_LINE 16 char InputFile[30]; // name of input & output files char OutputFile[30]; char Buff[BUFFER_SIZE]; void main(void) { unsigned int i=0; unsigned short j=0; char hex[]= "0x00"; char *hexp; hexp = &hex[2]; cout<<"Text To Hex Converter"<>InputFile; cout<<"Output file name:"; cin>>OutputFile; /* get every single character from the input file, and store inside the Buffer */ ifstream OpenInputFile(InputFile); while(!OpenInputFile.eof()) { OpenInputFile.get(Buff[i]); i++; } cout<