20 years, 2 months ago
Highlights
Community contributions featuredAssuming x is of a signed integer type, then there is a faster way. The most significant bit of an integer is (essentially) the sign bit. Using a bit-wise AND to look at the MSB…
20 years, 2 months ago
20 years, 3 months ago
I can help you out on the second one: You are calling hero.SetBegX(), however hero appears to be defined as a function in your MAZE class (a function called hero retur…
20 years, 3 months ago
20 years, 4 months ago
I think you need to reverse the order of your loops, so I think you should have:for(int i=0; i < rowsCount.Value; i++){ sw.Write("<tr>"); for(int a=0; a < columnsCou…
20 years, 4 months ago
Latest Activity
See all in DiscussionsAssuming x is of a signed integer type, then there is a faster way. The most significant bit of an …
20 years, 2 months ago
I can help you out on the second one: You are calling hero.SetBegX(), however hero appears to be defined as …
20 years, 3 months ago
I think you need to reverse the order of your loops, so I think you should have:for(int i=0; i < …
20 years, 4 months ago