Okay, I think I've got the idea, however I'm a bit stuck with the following bit of code logic:
while(num1%factor || num2%factor)
I understand that this is testing the remainder of num1/factor...
Type: Posts; User: Noodle
Okay, I think I've got the idea, however I'm a bit stuck with the following bit of code logic:
while(num1%factor || num2%factor)
I understand that this is testing the remainder of num1/factor...
Thanks for your help with this..
I'm just getting my feet wet with C++ and could do with some pointers (no pun meant) with the logic of programming..
I'm trying to write a very basic and small program to work out the Higest Common...
Thanx guys, it shounds as though it might be a good book for reference to use along side my study material..
Rgds
N
and could do with some input before parting with £50.00.
The book is:
C++ How to program - by Deitel & Deitel (fourth edition)
I'm new to C++ programming and could do with a good reference...
Thanks for the reply guy's, I'll be sure to spend some looking through the FAQ's etc..
It's good to find a BBS which supports programmers from around the world, helping each other out with problems - and believe me, I have loads :D
I'm currently studying a distance learning course...