Write a code with QT which is turning to ASCII message todecimal. Do not write characters equals one by one. Finallysave traslated decimal message and print it. Printeddecimal message must be usable for something else.
Example for check-up your self:
Assume that the message is _AA_X_#IY~TR__ZA/SD.Z_M*T_ the codemust translate this message to 95 65 65 95 88 95 35 73 89 126 84 8295 95 90 65 47 83 68 46 90 95 77 42 84 95
mmm 20 33 21 ! " 32 space 34 22 35 23 # 36 24 $ 37 25 % 38 26 & 1 39 40 41 42 43 44 455 27 28 ( 29 ) * 2A 2B + 2C 45 2D 46 2E 47 2F / 48 30 0 1 49 31 50 32 2 51 33 3 52 34 4 53 35 5 54 36 6 55 37 7 38 8 39 9 3A : 56 57 58 59 60 61 62 3E 63 3F ? 64 65 41 A 66 42 B 67 43 C 68 44 D 69 70 71 3B; 3C 3D www ... VIA = > 40 @ 45 E 46 F 47 G 72 48 H 73 49 I 74 4A J 75 4B K 76 4C L 77 4D M 78 4E 79 4F 80 50 81 51 82 52 83 53 84 54 85 55 86 56 87 57 88 ……….….. N O P Q R S T U V W 58 X 89 59 Y 90 5A Z 91 92 93 94 95 5F 96 60 97 61 a 98 62 b 99 63 C 100 64 d 101 65 e 102 66 f 103 67 g 5B [ 5C \ 5D ] 5E A 104 68 h 105 69 i 106 6A j 107 6B k 108 6C I 109 6D m 110 6E n 111 6F O 112 70 p 113 71 q 114 72 r 115 73 S 116 74 t 117 75 u 118 76 V 119 77 W 120 78 x 121 79 y 122 7A Z 123 7B { 124 7C | 125 7D } 126 7E
Write a code with QT which is turning to ASCII message to decimal. Do not write characters equals one by one. Finally sa
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am