//Irene Ma
//3/12/20
//Int5
//Enloe
//Potter
//codetest3
#include
#include
#include
#include
#include
#include
using namespace std;
//ifstream myfile ("E:\\1compsci\\programs\\acsl3.txt");
ifstream myfile ("F:\\3int.txt");
// Read a line from the file
// Break it into multiple expressions
// initialize veitch to all 0s
// For each expression use if/else chains to set '1' to vietch
// Convert each row to hex, put into string

void arroutput (int arr[4][4]){
    for(int i=0; i<4; i++){
        for(int j=0; j<4; j++){
            cout< sub;
    int ind=line.find('+');
    int begin=0;
    while(ind!=string::npos)
    {
      string exp=line.substr(begin, (ind-begin));
      begin=ind+1;
      sub.push_back(exp);
      ind=line.find('+', begin); //starts searching from begin
    }
    sub.push_back(line.substr(begin, (line.size()-begin))); //pushes back expression after last +
    int veitch[4][4];
    for(int i=0; i<4; i++){
      for(int j=0; j<4; j++){
      	veitch[i][j]=0;
      }
    }
    for(int i=0; i=10)
     {
       //10 --> A (65)
       //11 --> B (66)
        ans[i]=55+decnum;
     }
      //cout << std::hex << decnum;
   }
   cout<