// loadedjd july 15 2012
// binary converter
//sorry about indentation had copying issues
#include <iostream>
#include <cstdlib>
#include <string>
#include <windows.h>
using namespace std;
int main()
{
char answer;
int ans[8];
//user inpu
string user;
//increments of Binary code
int cpu[]={128,64,32,16,8,4,2,1};
cout << "Enter binary to convert \n";
getline (cin,user);
cin.ignore();
//collects user input
cout << "Convert to int or char 'i' integer 'c' character \n";
cin >> answer;
//ask the user whether they want to convert the binary to a character or integer
if(answer=='i')
{
cout << tot <<endl;
}