L02b_TypesOperatorsAssignment

L02b_TypesOperatorsA - CS1372 HELPING TO PUT THE COMPUTING IN ECE CS1372 CS1372 HELPING TO PUT THE COMPUTING IN ECE Types Operators and Assignment

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
CS1372: HELPING TO PUT THE COMPUTING IN ECE CS1372: HELPING TO PUT THE COMPUTING IN ECE CS1372 Types, Operators and Assignment Statements
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS1372: HELPING TO PUT THE COMPUTING IN ECE Variable Names Names must be letters and numbers Underscore _ counts as a letter. Don’t use _ as leading character Case sensitive Traditional to use lower case for variable names and upper case for symbolic (i.e. preprocessor) constants At least first 31 characters are significant!
Background image of page 2
CS1372: HELPING TO PUT THE COMPUTING IN ECE Variable Names Function names and external variables may be limited in length Keywords are reserved. You cannot use them. Variable names should be expressive Use short names for local variables Use longer names for external variables
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS1372: HELPING TO PUT THE COMPUTING IN ECE Data Types and Sizes Data Type: a data type is a classification identifying one of various types of data, such as floating-point, integer, or Boolean, that determines the possible values for that type; the operations that can be done on values of that type; and the way values of that type can be stored.
Background image of page 4
CS1372: HELPING TO PUT THE COMPUTING IN ECE Data Types and Sizes Integer Types char
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/07/2012 for the course CS 1372 taught by Professor Smith during the Spring '07 term at Georgia Institute of Technology.

Page1 / 20

L02b_TypesOperatorsA - CS1372 HELPING TO PUT THE COMPUTING IN ECE CS1372 CS1372 HELPING TO PUT THE COMPUTING IN ECE Types Operators and Assignment

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online