Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: Chainsaw ; Forum: C and child forums
Forum: C Jan 24th, 2005
Replies: 6
Solved: binary search
Views: 32,035
Posted By Chainsaw
Here is your culpret:

beg=a[0];
end=a[9];

beg should be the bottom of the range to search, in this case 0.
end should be the top of the range to search, in this case n (not 9).

You are...
Forum: C Dec 4th, 2004
Replies: 3
Views: 2,451
Posted By Chainsaw
you mean like:

1.2345
1.2344

is the same to 3 figures?

So, couldn't you say

int intX1 = (int)(x1 * figures);
Forum: C Jul 15th, 2004
Replies: 2
Views: 6,609
Posted By Chainsaw
Something like this?


void main()
{
printf("leapyear");
}
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC