ENCMP100 Study Guide - Final Guide: C String Handling, Carriage Return, Newline

49 views4 pages

Document Summary

Computer programs are frequently required to manipulate text in a 64-bit pc, integers and floating-point numbers are represented using 64 bits (8 bytes) each. Characters are represented using 16 bits (2 bytes) each. A string is a 1-d array of characters. Character codes are required to represent all of the required symbols in a human-readable language. Upper case, lower case letters, the space character. Special character codes are useful to have to express text formatting and to control input/output devices. Other languages use roman letters with accents, or use entirely different character sets, or use ideograms. Designed in 1963 to be efficient at representing english and for controlling features on input/output equipment at the time. Appeared when there was a need to standardize the computing language. Being replaced by multilingual codes such as the unicode standard. To create 1-d arrays of char"s: enclose characters in single quotation marks.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents