c++,binary calculator.need help!!!!
c++,binary calculator.need help!!!!
Add a do-while loop to your code, i.e. the front and end should look like this
// ... what-ever you have above, prior to the main void main() { do { //... the rest of your original code goes here ... } while(1) }then this program will keep going forever. You might like to replace the '1' in 'while(1)' with a nicer condition, so for example it breaks when the user types 'q'.
Login