moussa_90 0 Newbie Poster

i need to make a calculater that reads 2 binary numbers,show the 6 choices:press 1 to AND the 2 numbers,2 to OR the 2 numbers,3 to XOR ...
how would i force the user to enter in binary,is their a method lik call readhex or string?"call readbin"??????plz help!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.