September 28th, 2010, 12:09 AM
Purpose of a function
func(int* a, int b)
while((*a&(1 << b))==0);
Can someone tell me the hidden purpose of this function?
Comments on this post
September 28th, 2010, 01:11 AM
Yes, although it isn't hidden. You should review pointers, the while construct, and bit operations. First, though, you should review the "New users - HOW TO POST A QUESTION - READ THIS FIRST" thread.
Functionality rules and clarity matters; if you can work a little elegance in there, you're stylin'.
If you can't spell "u", "ur", and "ne1", why would I hire you? 300 baud modem? Forget I mentioned it.
September 28th, 2010, 06:53 AM