Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
convert number of position terms in text to binary (decimal to binary )
example :cat dog good animals
[cat]=0 position so binary is 0
[dog]=1 so binary is 10 ............etc in vb.net 2010
Posted
Comments
Nelek 2-Apr-12 12:49pm    
First, explanation is not really clear.
Second, there is no question
Third, it looks like homework.

If I am wrong... then please use "improve question" and reformulate what you need and add the piece of code where you are having problems
Sergey Alexandrovich Kryukov 2-Apr-12 13:19pm    
Needs code sample. What is "cat dog..."? Enumeration members? Strings? One string? Binary "10" in what base? binary "10" == 1 << 1 == 2? If you explain, the answer would likely be very simple.
--SA
wizardzz 2-Apr-12 15:18pm    
Looks like HW to me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900