3 Reusable Code Snippet Topics
Remove Filter
|
|
Start a new console application and fill in the about 70 lines of code in the Program.cs file. Run and enjoy! |
|
These two functions compute the orders of the lowest bit and the highest bit set in the binary representation of an integer. I expect them to handle securely very large integer values. |
|
This snippet defines a function [icode]a2bits[/icode] which converts a characters string to a string of 0's and 1's showing its bitwise representation. |
The End.