Hello all,
I'm trying to write a binary to decimal conversion program. I'm stuck at the very beginning here because I can't figure out how to allow the user to input the entire binary string while allowing me to break it apart and process it..
I've tried
int BinInput[*];
cout << "Enter the binary number to be converted to decimal: ";
cin >> BinInput;
for each(int x in BinInput)
{
cout << "\n" << x;
}