data types
bool, a Boolean expression of eithertrueorfalsechar, a single character likeaor2double, a floating-point value with more digits than afloatfloat, a floating-point value, or real number with a decimal valueint, integers up to a certain size, or number of bitslong, integers with more bits, so they can count higher than anintstring, a string of characters
CS50 Library
get_charget_doubleget_floatget_intget_longget_string
printf format codes
%cfor chars%ffor floats or doubles%ifor ints%lifor long integers%sfor strings
mathematical operators
+for addition-for subtraction*for multiplication/for division%for remainder

Leave a Reply