Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #55.0K
~5K People Reached
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for coolbeanbob

Remove the "+1" please. [CODE]int value = rand() % range;[/CODE] rand() returns a integer between 0 to RAND_MAX. Also, make sure that you use srand() before the calling, or you may get the same each running time. [URL="http://www.becoding.com/source/rand/"]http://www.becoding.com/source/rand/[/URL] [QUOTE=coolbeanbob;1634007]Hello, I am trying to figure out how to get the rand() …

Member Avatar for Fbody
0
184
Member Avatar for shizu

I agreed with Luce. It's the simplest way to convert a image to jpeg format. If you need more advanced format converting, find some open sources [URL="http://www.becoding.com/source/jpeg+convert/"]jpeg convert[/URL], it would be very helpful.

Member Avatar for mrnutty
0
3K
Member Avatar for loumbut

If you do want to use your code in your project, you may debug it with setting breakpoints. It will help you find out where the hang code is. Anyway, I go though you code quickly, and it looks not so efficient. Find and make some reference from some related …

Member Avatar for ivanx_wu
0
2K

The End.