I'm new with prolog and I don't have any clue about it. Does someone know how to write binary permutations with a const number of 1? For example all 9 bit words with 5 ones. I would be thankful for all help.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.