Am working on this program, a part of which requires the input fixed-point binary number to be converted to decimal for example;
11001.101 to its equivalent mixed decimal number...........any suggestions(a function would be excellent :) )?
but he said he needs to convert the inputed number so wouldnt that imply that he needs to use cout to ask for the number and cin to get it?
Yes, but remember: we aren't writing the code for him, by the way: we already assumed that he knows how to do input/output, otherwise his question was something else (I mean, if he's asking about how to do conversion between a Fixed-Point Binary and a Decimal number, can't you assume then that he already knows at least the basics of C++ (including I/O)? YES) :)