tailieunhanh - A Complete Guide to Programming in C++ part 83

A Complete Guide to Programming in C++ part 83. This book provides both novice and experienced programmers with a comprehensive resource manual for the C++ programming language. Readers gain experience in all aspects of programming, from elementary language concepts to professional software development, with in depth coverage of all the language elements en route. These elements are carefully ordered to help the reader create useful programs every step of the way. | ASCII CODE TABLE ASCII CODE TABLE CONTINUED decimal octal hex character decimal octal hex character 64 100 40 @ 96 140 60 65 101 41 A 97 141 61 a 66 102 42 B 98 142 62 b 67 103 43 C 99 143 63 c 68 104 44 D 100 144 64 d 69 105 45 E 101 145 65 e 70 106 46 F 102 146 66 f 71 107 47 G 103 147 67 g 72 110 48 H 104 150 68 h 73 111 49 I 105 151 69 i 74 112 4A J 106 152 6A j 75 113 4B K 107 153 6B k 76 114 4C L 108 154 6C I 77 115 4D M 109 155 6D m 78 116 4E N 110 156 6E n 79 117 4F O 111 157 6F o 80 120 50 P 112 160 70 p 81 121 51 Q 113 161 71 q 82 122 52 R 114 162 72 r 83 123 53 S 115 163 73 s 84 124 54 T 116 164 74 t 85 125 55 U 117 165 75 u 86 126 56 V 118 166 76 v 87 127 57 W 119 167 77 w 88 130 58 X 120 170 78 x 89 131 59 Y 121 171 79 y 90 132 5A Z 122 172 7A z 91 133 5B 123 173 7B 92 134 5C 124 174 7C 93 135 5D 125 175 7D 94 136 5E A 126 176 7E 95 137 5F 127 177 7F DEL 800 APPENDIX SCREEN CONTROL SEQUENCES The following escape sequences reflect the ANSI standard for screen control. Replace the sign by the appropriate decimal number in all cases. ESC A ESC B ESC C ESC D ESC z sH or ESC z sf ESC s ESC u ESC K Cursor lines up Cursor lines down Cursor characters right Cursor characters left Put cursor in line z and column s Save cursor position Load saved cursor position 0 Delete from cursor position to line end 1 Delete from start of line to cursor position 2 Delete whole line ESC 2J ESC . opm Clear screen 0 all attributes normal 1 switch double intensity on 4 Underline on monochrome screens 5 Blink on 7 Inverse on 3x Foreground color 4x Background color x 0 black x 4 blue x 1 red x 5 magenta x 2 green x 6 cyan x 3 yellow x 7 white ESC c1 c2p Change key assignments The key with decimal code c1 will then return code c2. To enable these escape sequences you must first load an appropriate screen device driver. To do so for Windows 9x place the following line in your file DEVICE C Windows Command Win NT and Win 2000 do not supply the ANSI screen control

TỪ KHÓA LIÊN QUAN