Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ..*UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU.....jGDEMO............demo.prn..The Softstrip[tm] System is a..patent-pending, breakthrough in..computer and information processing.....With the system's technology,..information which used to require..electronic media for dissemination can..be prin4ed right on paper and read off..the paper automatically and error..free. The technology is called..Softstrip[tm] `nd the prifted image..conta`ning the ifformadion is cadded a..data strip. With it, peopde can inpqt..virpua,dy any information -- for..exampde text$ numbars, gr!ph)cs, and..sound %- into their personal computer..from papeR without having to type it..in.....Softstrip technology means more data..will be usef5l As the time an$..erro23 o" t9ping aR$ e$im.jat%d.....EacH data Strip codpdIon. F be.*RVn allow or prohibiT..dUplication using ngrmal printing..processes on any type of paper.....A low cost computer peripheral, the..Cauzin Softstrip[tm] Reader, inputs..the information contained on data..strips directly into the computer.....The Softstrip[tm] System makes print a..whole new source of computer usable..material. Now personal computer users..will be able to obtain software from..printed books, magazines, and..newsletters without having to use the..keyboard. Businesses will be able to..communicate computer data through the..mails without excessive costs and..without special production of separate..magnetic materials..............
- #include <stdio.h>
- #include <strings.h>
- #include <ctype.h>
- char datain[]=
- #if 0
- // all data:
- "??0101010???????????1010101??0"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "010101010101010101010101010100"
- "100000000000000000000000000111"
- "110000110000001010110111000100"
- "100100010101000101011001011110"
- "000100000000010000000000000000"
- "000000000000000000000000010001"
- "000000000000000000000000000000"
- "001100000000000000010011010101"
- "101101011011011110110011101000"
- "000001110010011100111011000000"
- "000000000000000101010000101100"
- "110100110000001001100101011110"
- "001100110011000101110110011101"
- "100101110010011101001011000001"
- "011101101101000101110101101101"
- "010111010000001001100101010010"
- "111101100111000101110101001101"
- "010110110000001001001011011000"
- "011100000010010000110101100000"
- "001010000000011101000011000101"
- "011101010011001110110001011100"
- "010110100000011101010011001110"
- "101100010011010010110011101101"
- "011100110001101000000010001000"
- "101100100111010100110100001100"
- "111010110001011100001011001000"
- "111101111011010101110111001100"
- "100010110000001001001011001110"
- "001101011000001010000110001101"
- "011110110101101100000111010100"
- "111100010111010100110010011100"
- "100000100100001100111011000101"
- "101100000010010010110011101101"
- "001100110111101100100111010111"
- "101101000011000101110100101100"
- "111110110011101100000010000001"
- "011100100111011110110110001101"
- "010100110110011101100111010010"
- "101100111011011100110011101001"
- "010110000010100001011000001010"
- "000001110101010010110001011101"
- "100010110000001000010111000010"
- "101101010011000000100110011101"
- "110011110110011100010111010101"
- "101101011011011100100110011101"
- "000000100001011101010011011001"
- "101100001011001110110111101101"
- "000110110111101101110011010011"
- "011100011010010110000010100001"
- "110010110011101100110011011110"
- "001100100111010110110100001100"
- "000101110100101101111011001111"
- "001100000010011101110000101100"
- "010010110110001100001011000001"
- "101001010111011001110101001100"
- "100100110000001000010111011111"
- "101100000010001001110101001100"
- "110001110101011101001011001001"
- "111101010011010110000010100001"
- "110100110001101101010011011001"
- "101100010111001001110111101101"
- "101110110100101101100011000000"
- "101001011011010100110001001100"
- "110010110100001100000010001101"
- "101101111011001001110000001000"
- "000100110100101101100111011000"
- "011101010011010110110100101100"
- "001110110100001100010111010010"
- "001101111011001110110000001000"
- "111000110100001100111011010110"
- "100000101000001000110101001100"
- "100000100000011100100111010011"
- "0011001110110001011?0101001101"
- "100100110000001000100111010011"
- "001101110011000010110001011100"
- "100000100111101100111011000001"
- "001000000111010000110000011100"
- "010100110010011100000010010000"
- "001100111011000100110000001001"
- "001001110101001101000011000100"
- "101100000010011110110011001100"
- "101100110101100000101000000101"
- "111100001011010100110000001000"
- "100001110100001100000111010100"
- "101100100111000000100100001101"
- "010101110001011101111011010110"
- "101101000011000101110100101100"
- "011000110100001100011011000111"
- "101101001111000000100100001100"
- "101110110001001100000010010100"
- "001100100111001001110111101100"
- "001001110101100000101000001101"
- "101100100111010100110101001101"
- "101110100000001000010101000010"
- "001101010011000000100001011101"
- "110100110110001100001011001111"
- "101101111011000110110111101101"
- "011100110100111100000010010011"
- "001101100111000000100110001100"
- "110000110001101100011011010100"
- "101100010011010110000010100001"
- "011001010111101100110011000101"
- "011101100111000101110010011100"
- "110010110000011101101101000100"
- "111101011011010111010000001001"
- "??00?0110011101100010011000000"
- "1010?0010111000010110101001101"
- "1000?010?000011100100111010011"
- "0011?011?011000101110101001101"
- "?001?0110000001001001011010110"
- "?01101000011011100110101001101"
- "?101?000?010100001100011011110"
- "00110011101100010111010?001100"
- "1?00?0110011101101001011001111"
- "?01101110011000000100001011101"
- "?00010110101001100000010010011"
- "?0110011?011001100110111101100"
- "1010?1110101101101000011000100"
- "1?11?1001011011110110011101101"
- "?000?0100100101101100111000001"
- "?01001100011010000110001?01100"
- "?001?0110101001100010011000001"
- "?01001000011010110000010100000"
- "100100110100001100010111010000"
- "101100000010011001110001011101"
- "101001110100101100000111001111"
- "101000000010011101010100101100"
- "100101110000101100000010010011"
- "101100010111000110100000001001"
- "100001110101001101111011000000"
- "11110001?011010100110000001001"
- "011?00110100001100111011000000"
- "101001001011001110110000011100"
- "110?01110001011101011000001011"
- "000000110111010010110010011101"
- "000?01110101011101000011000110"
- "001?00010011010011110000001000"
- "010000110011101101001111000001"
- "001001001011001110110011001100"
- "111110110010011101011011010001"
- "101100010111010010110111101101"
- "101110110000001001011010010110"
- "101000000010001100110111101101"
- "101001110101100000101000010100"
- "001100001111010000110101101100"
- "000001110001?01101010011000001"
- "101000010111010100110000111100"
- "000101110001?01000000010001111"
- "001101010111010110110010001101"
- "010?00110010011101100111000111"
- "001000000010011100110010011101"
- "1100001?0000011100001011010010"
- "101?01100011011001110001101001"
- "1000001?0100001100111011000101"
- "0011010?1000001010000110011100"
- "111110110101011100111011000100"
- "0011000000100101?0100101101001"
- "000000100100101100111011000101"
- "0111011110110000?0100001011100"
- "000010110101001101001011001000"
- "011100000010000001110101001101"
- "101001110110011101111011001111"
- "101101000011000110110000001001"
- "111000110111101101011011000000"
- "011101010111000101110101001100"
- "001001110101100000101000001101"
- "001100100111011110110101101101"
- "100000100000011101000011000000"
- "111101010011001001?10000001001"
- "011101110100101100010111000011"
- "001101111011010101110001011101"
- "100000100000101101000011001100"
- "011101001011001110110111001101"
- "100000100001011101111011000000"
- "101000010111010011110000011100"
- "010100110000001001001011000100"
- "011101011000001010000100101100"
- "101110110011101001011000001011"
- "000001011000001010000110010101"
- "111110110011001100010111011001"
- "011100010111001001110100101101"
- "100001110000001000010111010101"
- "001101100011000010110011101100"
- "111110110001101101111011011100"
- "001101001111000000100101101101"
- "010100110100001100111011011000"
- "111100000010010110110111101100"
- "001001110101001100000010000100"
- "001101000011000101110100001100"
- "010110000010100001110111010011"
- "001100011011000110110000001001"
- "001000110101001100000010010100"
- "011101100111010100110011001100"
- "0101011?0001101100000010010001"
- "10?101100111000000100001011101"
- "000010110101001100000010000101"
- "011101001011010110110101001100"
- "100000100100001100111011000101"
- "101001011000001010000101001100"
- "001001110010011101111011001001"
- "1110011?011?000000100111101100"
- "101?001?0000001000010111010010"
- "111?00000111010010110011101100"
- "111100110000001001000011001001"
- "01?10?01001?000000100101001100"
- "1001?01?0100101101011011010010"
- "00??001?1011010000110001011100"
- "0101001?0001001100111010010110"
- "100?001010000101?0000010100000"
- "010100010100001101100011000011"
- "00?1000?0010000100110100001101"
- "000101110100001100000010011000"
- "01?100010111001001110100101101"
- "000?01110000001001100011011110"
- "?01100?100110???011100?1001101"
- "010010?10111101100111011001110"
- "0?1?000?0?100011000100?0001001"
- "001000110101001101011000001010"
- "101?001001?1001101010?11101101"
- "100000100100001100011011000111"
- "101101111011011101110000001000"
- "011110110010011100000010000001"
- "011100100111011110110000101100"
- "010010110010001101001011000100"
- "11?101011000001010000001001100"
- "110101?10000011100011011010011"
- "101101100011010000110001011100"
- "010010110111101100111011000001"
- "001001010111011001110100101101"
- "001110110111001100000010001110"
- "00110111?011001001110101101101"
- "010000110001101100000010000000"
- "011100100111010010110011101100"
- "100101110100101100111011011101"
- "10110101?000001010000000011101"
- "101001110111101101100011010101"
- "001101100111011001110101001100"
- "011001110000001001111011001111"
- "001100000010010000110011101101"
- "110011110000001000010111010011"
- "011100000111010100110000001001"
- "011110110011001100000010000001"
- "011101000011000001110101001101"
- "001001110011101001011000001011"
- "100001011000001010000100000100"
- "100000100001101101111011011101"
- "111100000010011000110111101101"
- "111001110001011100000010011001"
- "101101111011010110110000011101"
- "010101110001011101010011001000"
- "011100000010000001110101001101"
- "001001110100101100000111000010"
- "101101010011001001110100001100"
- "100110110001101000000010000100"
- "111100001011010100110101100000"
- "001010000110000101000011010100"
- "111100101111010010110011101100"
- "000000100110010101111011001101"
- "101100010111011001110001011100"
- "101001110100101100000111011011"
- "010100010111010110110101110100"
- "100000100010010101010011010000"
- "101100010011010100110010011100"
- "100110100000001001001011001110"
- "001100000111010101110001011100"
- "111001110101100000101000000100"
- "111100001011010100110000001000"
- "110010110011101100110011011110"
- "001100100111010110110100001100"
- "000101110100101101111011001111"
- "101100000010011000110111101100"
- "001110110001011101000011010010"
- "001100111011010100110001001100"
- "100000100111101100111011000001"
- "001000010011010000110001011101"
- "110000110101100000101000011001"
- "011100010111001001110100101101"
- "000001110110011100000010000100"
- "001101001011001001110101001100"
- "011000110001011100011011010010"
- "111100000010010010110011101100"
- "100101110111101100000010000101"
- "111100001011010100110000001000"
- "111000110111101101011011000000"
- "011101010111000101110101001100"
- "001001110011101001011000001011"
- "100001011000001010000001010101"
- "100010110101001100000010011001"
- "010101111011001100110001011100"
- "011001110001011100100111010011"
- "?01100000111011011010001011101"
- "110110110101110100000010011000"
- "110101001111011001110001011101"
- "110100110101101100000010010110"
- "001101000011011010110101001100"
- "111001110000001000000111001001"
- "111101001011001110110001011101"
- "100000100100001101011000001010"
- "100001110111000010110111101100"
- "000110110101001100000010001110"
- "101101010011011101110000001000"
- "111001110111101101010111001000"
- "111101100011010100110000001001"
- "111110110011001100000010011000"
- "101101111011010110110000011101"
- "010101110001011101010011001000"
- "111100000010010101110110011101"
- "110000110010001100011011010101"
- "001101011000001010000101101100"
- "010000110001011101010011001000"
- "011101001011010000110001101100"
- "001110100000001000111001011111"
- "101101110111000000100000011101"
- "110100110010011101100111011110"
- "101100111011010000110001101101"
- "100000100110001101111011010111"
- "001100000111010101110001011100"
- "010100110010011100000010010101"
- "011101100111010100110010011100"
- "011001110101100000101000011101"
- "111101001011000110110001101100"
- "000000100010001101010011000000"
- "001001000011001000110001101101"
- "110100110000001000010111011110"
- "101100000010011110110010001101"
- "000101110100001101001011001110"
- "101100000010011001110111101101"
- "101100110001011101110111010000"
- "101100100111010100110000001000"
- "001100110010011101111011010111"
- "101101011000001010000000011101"
- "101001110100101100111011000101"
- "011101010011000100110000001001"
- "001000110111101101111011011010"
- "001101100111000110100000001001"
- "110110110100001101110011010001"
- "101100101111010010110011101101"
- "110100110110011100011010000001"
- "001001000011001110110001001100"
- "010110000010100000111011010100"
- "101101110111011001110001101100"
- "110100110001011100010111010101"
- "001100100111011001110000001000"
- "011101110100101100010111000011"
- "001101111011010101110001011101"
- "100000100000101101000011001100"
- "011101001011001110110111001101"
- "100000100001011101111011000000"
- "101001010111011001110101001100"
- "?00000100001011100001011010100"
- "101101011000001010000110101101"
- "110100110100111100100011011111"
- "101101000011001001110001001101"
- "101110100000001000100001010100"
- "011101100111010010110011101101"
- "110100110110011101100111010101"
- "001101100111000000100111011100"
- "010010110001101100011011000000"
- "101000100011010100110000001000"
- "110000110010001100011011010101"
- "001100000010000101110111101101"
- "110110000010100001100011011110"
- "001101011011010110110101011101"
- "101110110100101101100011010001"
- "001100010111010100110000001001"
- "111000110111101101011011000000"
- "011101010111000101110101001100"
- "001001110000001000010011010001"
- "001100010111010000110000001000"
- "100101110000101100100111011110"
- "001101010111011100110000101101"
- "000000100001011100001011010100"
- "001101011000001010000101101100"
- "010000110100101100011011011001"
- "011100000010011101110100101100"
- "000101110000101101111011010101"
- "011100010111000000100101001100"
- "000011110110001101010011011000"
- "111101100111010010110011011100"
- "010100110000001001100011011111"
- "001101100111000101110110011100"
- "100000100100001100111011000101"
- "001101011000001010000111011101"
- "110010110001011100001011011110"
- "001101010111000101110000001000"
- "111001110000011101010011011001"
- "001101001011010000110001101101"
- "000000100000011100100111011110"
- "101100010011010101110110001101"
- "000101110100101101111011001111"
- "101100000010011110110011001100"
- "000000100110011101010011000000"
- "111101000011001001110100001100"
- "100101110101001101011000001010"
- "100001011011010000110111001100"
- "001110110101001100010111010011"
- "001101100011000000100101101100"
- "010000110001011101010011001000"
- "0111010010110100001100011011?0"
- "011001110011101001011000001010"
- "000000101100000000000000000001"
- "0000000000000000000000000000?0"
- "000000000000000000000000000000"
- "000000000000000000000000000000";
- #else
- // remove left and right columns:
- "?0101010???????????1010101??"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "1010101010101010101010101010"
- "0000000000000000000000000011"
- "1000011000000101011011100010"
- "0010001010100010101100101111"
- "0010000000001000000000000000"
- "0000000000000000000000001000"
- "0000000000000000000000000000"
- "0110000000000000001001101010"
- "0110101101101111011001110100"
- "0000111001001110011101100000"
- "0000000000000010101000010110"
- "1010011000000100110010101111"
- "0110011001100010111011001110"
- "0010111001001110100101100000"
- "1110110110100010111010110110"
- "1011101000000100110010101001"
- "1110110011100010111010100110"
- "1011011000000100100101101100"
- "1110000001001000011010110000"
- "0101000000001110100001100010"
- "1110101001100111011000101110"
- "1011010000001110101001100111"
- "0110001001101001011001110110"
- "1110011000110100000001000100"
- "0110010011101010011010000110"
- "1101011000101110000101100100"
- "1110111101101010111011100110"
- "0001011000000100100101100111"
- "0110101100000101000011000110"
- "1111011010110110000011101010"
- "1110001011101010011001001110"
- "0000010010000110011101100010"
- "0110000001001001011001110110"
- "0110011011110110010011101011"
- "0110100001100010111010010110"
- "1111011001110110000001000000"
- "1110010011101111011011000110"
- "1010011011001110110011101001"
- "0110011101101110011001110100"
- "1011000001010000101100000101"
- "0000111010101001011000101110"
- "0001011000000100001011100001"
- "0110101001100000010011001110"
- "1001111011001110001011101010"
- "0110101101101110010011001110"
- "0000010000101110101001101100"
- "0110000101100111011011110110"
- "0011011011110110111001101001"
- "1110001101001011000001010000"
- "1001011001110110011001101111"
- "0110010011101011011010000110"
- "0010111010010110111101100111"
- "0110000001001110111000010110"
- "1001011011000110000101100000"
- "0100101011101100111010100110"
- "0010011000000100001011101111"
- "0110000001000100111010100110"
- "1000111010101110100101100100"
- "1110101001101011000001010000"
- "1010011000110110101001101100"
- "0110001011100100111011110110"
- "0111011010010110110001100000"
- "0100101101101010011000100110"
- "1001011010000110000001000110"
- "0110111101100100111000000100"
- "0010011010010110110011101100"
- "1110101001101011011010010110"
- "0111011010000110001011101001"
- "0110111101100111011000000100"
- "1100011010000110011101101011"
- "0000010100000100011010100110"
- "0000010000001110010011101001"
- "011001110110001011?010100110"
- "0010011000000100010011101001"
- "0110111001100001011000101110"
- "0000010011110110011101100000"
- "0100000011101000011000001110"
- "1010011001001110000001001000"
- "0110011101100010011000000100"
- "0100111010100110100001100010"
- "0110000001001111011001100110"
- "0110011010110000010100000010"
- "1110000101101010011000000100"
- "0000111010000110000011101010"
- "0110010011100000010010000110"
- "1010111000101110111101101011"
- "0110100001100010111010010110"
- "1100011010000110001101100011"
- "0110100111100000010010000110"
- "0111011000100110000001001010"
- "0110010011100100111011110110"
- "0100111010110000010100000110"
- "0110010011101010011010100110"
- "0111010000000100001010100001"
- "0110101001100000010000101110"
- "1010011011000110000101100111"
- "0110111101100011011011110110"
- "1110011010011110000001001001"
- "0110110011100000010011000110"
- "1000011000110110001101101010"
- "0110001001101011000001010000"
- "1100101011110110011001100010"
- "1110110011100010111001001110"
- "1001011000001110110110100010"
- "1110101101101011101000000100"
- "?00?011001110110001001100000"
- "010?001011100001011010100110"
- "000?010?00001110010011101001"
- "011?011?01100010111010100110"
- "001?011000000100100101101011"
- "0110100001101110011010100110"
- "101?000?01010000110001101111"
- "0110011101100010111010?00110"
- "?00?011001110110100101100111"
- "0110111001100000010000101110"
- "0001011010100110000001001001"
- "0110011?01100110011011110110"
- "010?111010110110100001100010"
- "?11?100101101111011001110110"
- "000?010010010110110011100000"
- "01001100011010000110001?0110"
- "001?011010100110001001100000"
- "0100100001101011000001010000"
- "0010011010000110001011101000"
- "0110000001001100111000101110"
- "0100111010010110000011100111"
- "0100000001001110101010010110"
- "0010111000010110000001001001"
- "0110001011100011010000000100"
- "0000111010100110111101100000"
- "1110001?01101010011000000100"
- "11?0011010000110011101100000"
- "0100100101100111011000001110"
- "10?0111000101110101100000101"
- "0000011011101001011001001110"
- "00?0111010101110100001100011"
- "01?0001001101001111000000100"
- "1000011001110110100111100000"
- "0100100101100111011001100110"
- "1111011001001110101101101000"
- "0110001011101001011011110110"
- "0111011000000100101101001011"
- "0100000001000110011011110110"
- "0100111010110000010100001010"
- "0110000111101000011010110110"
- "00001110001?0110101001100000"
- "0100001011101010011000011110"
- "00101110001?0100000001000111"
- "0110101011101011011001000110"
- "10?0011001001110110011100011"
- "0100000001001110011001001110"
- "100001?000001110000101101001"
- "01?0110001101100111000110100"
- "000001?010000110011101100010"
- "011010?100000101000011001110"
- "1111011010101110011101100010"
- "011000000100101?010010110100"
- "0000010010010110011101100010"
- "111011110110000?010000101110"
- "0001011010100110100101100100"
- "1110000001000000111010100110"
- "0100111011001110111101100111"
- "0110100001100011011000000100"
- "1100011011110110101101100000"
- "1110101011100010111010100110"
- "0100111010110000010100000110"
- "0110010011101111011010110110"
- "0000010000001110100001100000"
- "11101010011001001?1000000100"
- "1110111010010110001011100001"
- "0110111101101010111000101110"
- "0000010000010110100001100110"
- "1110100101100111011011100110"
- "0000010000101110111101100000"
- "0100001011101001111000001110"
- "1010011000000100100101100010"
- "1110101100000101000010010110"
- "0111011001110100101100000101"
- "0000101100000101000011001010"
- "1111011001100110001011101100"
- "1110001011100100111010010110"
- "0000111000000100001011101010"
- "0110110001100001011001110110"
- "1111011000110110111101101110"
- "0110100111100000010010110110"
- "1010011010000110011101101100"
- "1110000001001011011011110110"
- "0100111010100110000001000010"
- "0110100001100010111010000110"
- "1011000001010000111011101001"
- "0110001101100011011000000100"
- "0100011010100110000001001010"
- "1110110011101010011001100110"
- "101011?000110110000001001000"
- "0?10110011100000010000101110"
- "0001011010100110000001000010"
- "1110100101101011011010100110"
- "0000010010000110011101100010"
- "0100101100000101000010100110"
- "0100111001001110111101100100"
- "110011?011?00000010011110110"
- "01?001?000000100001011101001"
- "11?0000011101001011001110110"
- "1110011000000100100001100100"
- "1?10?01001?00000010010100110"
- "001?01?010010110101101101001"
- "0??001?101101000011000101110"
- "101001?000100110011101001011"
- "00?001010000101?000001010000"
- "1010001010000110110001100001"
- "0?1000?001000010011010000110"
- "0010111010000110000001001100"
- "1?10001011100100111010010110"
- "00?0111000000100110001101111"
- "01100?100110???011100?100110"
- "10010?1011110110011101100111"
- "?1?000?0?100011000100?000100"
- "0100011010100110101100000101"
- "01?001001?1001101010?1110110"
- "0000010010000110001101100011"
- "0110111101101110111000000100"
- "1111011001001110000001000000"
- "1110010011101111011000010110"
- "1001011001000110100101100010"
- "1?10101100000101000000100110"
- "10101?1000001110001101101001"
- "0110110001101000011000101110"
- "1001011011110110011101100000"
- "0100101011101100111010010110"
- "0111011011100110000001000111"
- "0110111?01100100111010110110"
- "1000011000110110000001000000"
- "1110010011101001011001110110"
- "0010111010010110011101101110"
- "0110101?00000101000000001110"
- "0100111011110110110001101010"
- "0110110011101100111010100110"
- "1100111000000100111101100111"
- "0110000001001000011001110110"
- "1001111000000100001011101001"
- "1110000011101010011000000100"
- "1111011001100110000001000000"
- "1110100001100000111010100110"
- "0100111001110100101100000101"
- "0000101100000101000010000010"
- "0000010000110110111101101110"
- "1110000001001100011011110110"
- "1100111000101110000001001100"
- "0110111101101011011000001110"
- "1010111000101110101001100100"
- "1110000001000000111010100110"
- "0100111010010110000011100001"
- "0110101001100100111010000110"
- "0011011000110100000001000010"
- "1110000101101010011010110000"
- "0101000011000010100001101010"
- "1110010111101001011001110110"
- "0000010011001010111101100110"
- "0110001011101100111000101110"
- "0100111010010110000011101101"
- "1010001011101011011010111010"
- "0000010001001010101001101000"
- "0110001001101010011001001110"
- "0011010000000100100101100111"
- "0110000011101010111000101110"
- "1100111010110000010100000010"
- "1110000101101010011000000100"
- "1001011001110110011001101111"
- "0110010011101011011010000110"
- "0010111010010110111101100111"
- "0110000001001100011011110110"
- "0111011000101110100001101001"
- "0110011101101010011000100110"
- "0000010011110110011101100000"
- "0100001001101000011000101110"
- "1000011010110000010100001100"
- "1110001011100100111010010110"
- "0000111011001110000001000010"
- "0110100101100100111010100110"
- "1100011000101110001101101001"
- "1110000001001001011001110110"
- "0010111011110110000001000010"
- "1110000101101010011000000100"
- "1100011011110110101101100000"
- "1110101011100010111010100110"
- "0100111001110100101100000101"
- "0000101100000101000000101010"
- "0001011010100110000001001100"
- "1010111101100110011000101110"
- "1100111000101110010011101001"
- "0110000011101101101000101110"
- "1011011010111010000001001100"
- "1010100111101100111000101110"
- "1010011010110110000001001011"
- "0110100001101101011010100110"
- "1100111000000100000011100100"
- "1110100101100111011000101110"
- "0000010010000110101100000101"
- "0000111011100001011011110110"
- "0011011010100110000001000111"
- "0110101001101110111000000100"
- "1100111011110110101011100100"
- "1110110001101010011000000100"
- "1111011001100110000001001100"
- "0110111101101011011000001110"
- "1010111000101110101001100100"
- "1110000001001010111011001110"
- "1000011001000110001101101010"
- "0110101100000101000010110110"
- "1000011000101110101001100100"
- "1110100101101000011000110110"
- "0111010000000100011100101111"
- "0110111011100000010000001110"
- "1010011001001110110011101111"
- "0110011101101000011000110110"
- "0000010011000110111101101011"
- "0110000011101010111000101110"
- "1010011001001110000001001010"
- "1110110011101010011001001110"
- "1100111010110000010100001110"
- "1110100101100011011000110110"
- "0000010001000110101001100000"
- "0100100001100100011000110110"
- "1010011000000100001011101111"
- "0110000001001111011001000110"
- "0010111010000110100101100111"
- "0110000001001100111011110110"
- "0110011000101110111011101000"
- "0110010011101010011000000100"
- "0110011001001110111101101011"
- "0110101100000101000000001110"
- "0100111010010110011101100010"
- "1110101001100010011000000100"
- "0100011011110110111101101101"
- "0110110011100011010000000100"
- "1011011010000110111001101000"
- "0110010111101001011001110110"
- "1010011011001110001101000000"
- "0100100001100111011000100110"
- "1011000001010000011101101010"
- "0110111011101100111000110110"
- "1010011000101110001011101010"
- "0110010011101100111000000100"
- "1110111010010110001011100001"
- "0110111101101010111000101110"
- "0000010000010110100001100110"
- "1110100101100111011011100110"
- "0000010000101110111101100000"
- "0100101011101100111010100110"
- "0000010000101110000101101010"
- "0110101100000101000011010110"
- "1010011010011110010001101111"
- "0110100001100100111000100110"
- "0111010000000100010000101010"
- "1110110011101001011001110110"
- "1010011011001110110011101010"
- "0110110011100000010011101110"
- "1001011000110110001101100000"
- "0100010001101010011000000100"
- "1000011001000110001101101010"
- "0110000001000010111011110110"
- "1011000001010000110001101111"
- "0110101101101011011010101110"
- "0111011010010110110001101000"
- "0110001011101010011000000100"
- "1100011011110110101101100000"
- "1110101011100010111010100110"
- "0100111000000100001001101000"
- "0110001011101000011000000100"
- "0010111000010110010011101111"
- "0110101011101110011000010110"
- "0000010000101110000101101010"
- "0110101100000101000010110110"
- "1000011010010110001101101100"
- "1110000001001110111010010110"
- "0010111000010110111101101010"
- "1110001011100000010010100110"
- "0001111011000110101001101100"
- "1110110011101001011001101110"
- "1010011000000100110001101111"
- "0110110011100010111011001110"
- "0000010010000110011101100010"
- "0110101100000101000011101110"
- "1001011000101110000101101111"
- "0110101011100010111000000100"
- "1100111000001110101001101100"
- "0110100101101000011000110110"
- "0000010000001110010011101111"
- "0110001001101010111011000110"
- "0010111010010110111101100111"
- "0110000001001111011001100110"
- "0000010011001110101001100000"
- "1110100001100100111010000110"
- "0010111010100110101100000101"
- "0000101101101000011011100110"
- "0111011010100110001011101001"
- "0110110001100000010010110110"
- "1000011000101110101001100100"
- "111010010110100001100011011?"
- "1100111001110100101100000101"
- "0000010110000000000000000000"
- "000000000000000000000000000?"
- "0000000000000000000000000000"
- "0000000000000000000000000000";
- #endif
- #define SUBLEN 30
- void print_asc(char c)
- {
- if(c & 128) {printf("."); return;}; // skip non-ascii ... loses some data!
- // printf("%c", (c & 128) ? '_' : ' ');
- printf("%c", isprint(c & 127) ? c&127 : '.');
- }
- unsigned char str2char_lsb_first(char * s)
- {
- unsigned char c = 0;
- for(int i=0; (*s != '\0') && (i<8); i++) {
- c = c >> 1;
- if(*s++ == '1') c = c | 128;
- }
- return c;
- }
- void print_asc_str2char_lsb_first2(char * s)
- {
- for(int i=0; (*s != '\0') && (i<8); i++) {
- printf("%c", s[i]);
- }
- printf(" ");
- print_asc(str2char_lsb_first(s));
- printf("\n");
- }
- unsigned char str2char_msb_first(char * s)
- {
- unsigned char c = 0;
- for(int i=0; (*s != '\0') && (i<8); i++) {
- c = c << 1;
- if(*s++ == '1') c = c | 1;
- }
- return c;
- }
- int main()
- {
- char substr[SUBLEN+1];
- char *p = datain;
- int skip1, skip2, skip3, offset;
- int z;
- #if 1 //------------ BIG SEARCH -----------------
- for(skip1=0; skip1<8; skip1++) {
- for(skip2=0; skip2<8; skip2++) {
- for(skip3=0; skip3<8; skip3++) {
- if(skip1+skip2+skip3+3*8<=SUBLEN+8) // only if we don't cross boundries
- for(offset=0; offset<=7; offset++) {
- printf("\noffset %d, skip %d %d %d msb:", offset, skip1, skip2, skip3);
- for(int pp=0; pp<strlen(datain)-SUBLEN; ) {
- print_asc(str2char_msb_first(&datain[offset+pp]));
- pp += 8+skip1;
- print_asc(str2char_msb_first(&datain[offset+pp]));
- pp += 8+skip2;
- print_asc(str2char_msb_first(&datain[offset+pp]));
- pp += 8+skip3;
- }
- printf("\noffset %d, skip %d %d %d lsb:", offset, skip1, skip2, skip3);
- for(int pp=0; pp<strlen(datain)-SUBLEN; ) {
- print_asc(str2char_lsb_first(&datain[offset+pp]));
- pp += 8+skip1;
- print_asc(str2char_lsb_first(&datain[offset+pp]));
- pp += 8+skip2;
- print_asc(str2char_lsb_first(&datain[offset+pp]));
- pp += 8+skip3;
- }
- } // offset
- }}} // skips
- #endif
- #if 0
- offset=3; skip1=0; skip2=2; skip3=2; //-- best guess, but not complete
- offset=5; skip1=0; skip2=0; skip3=2; //-- best guess, but not complete
- printf("\noffset %d, skip %d %d %d lsb:", offset, skip1, skip2, skip3);
- for(int pp=0; pp<strlen(datain)-SUBLEN; ) {
- print_asc_str2char_lsb_first2(&datain[offset+pp]);
- pp += 8;
- if(skip1) {for(z=0; z<skip1; z++) printf("%c", datain[offset+pp++]); printf("\n");}
- print_asc_str2char_lsb_first2(&datain[offset+pp]);
- pp += 8;
- if(skip2) {for(z=0; z<skip2; z++) printf("%c", datain[offset+pp++]); printf("\n");}
- print_asc_str2char_lsb_first2(&datain[offset+pp]);
- pp += 8;
- if(skip3) {for(z=0; z<skip3; z++) printf("%c", datain[offset+pp++]); printf("\n");}
- }
- #endif
- #if 0 //--------------------- OLD ------------------------
- while(*p != '\0') {
- strncpy(substr, p, SUBLEN);
- printf("offset %04x: %s\n", offset, substr);
- //-------------
- for(offset=0; offset<7; offset++) {
- printf(" offset %d msb:");
- print_asc(str2char_lsb_first(&substr[offset+0]); // first char
- print_asc(str2char_lsb_first(&substr[offset+1]); // 2nd char
- print_asc(str2char_lsb_first(&substr[offset+2]); // 3rd char
- }
- void print_asc(char c)
- unsigned char str2char_lsb_first(char * s)
- unsigned char str2char_msb_first(char * s)
- //-------------
- offset += SUBLEN; p += SUBLEN; // not safe if not multiple of SUBLEN
- }
- #endif
- printf("\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement