User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:4960
Latest posts:

10001 prime number code
Try this:[code]bool isPrime( int n ) { int counter = 0; for( int divisor = 1; divisor <= n;...

Bitwise AND in a condition
[code]if[/code] checks for a numeric value != 0, not for bool.

how refresh\update a menu and how change draw an image transparent on menu?
No, I mean when the timer is acutally executed but the [i]last[/i] time. [code]hBmp[/code] is create...

how refresh\update a menu and how change draw an image transparent on menu?
It's hard to tell where the problem is. What happens to [code]hBmp[/code] created on line 51 when t...

how print without a printer dialog?
The problem is that you need cope with both display and printer driver and what they provide. I sugg...