Category: programming

0

Ruby cheat sheet with examples

Take it easy Ruby! Basic concepts Hello World 1puts "Hello World!" Comments 123456# single line comment=begin Multi-lines comment=end Variables 12my_var = 42My_constant_var = 31337 Shorthand assignm

0

Variables type size and formaters in C

Variables Type Size Min Max signed char 8 bits -128 +127 unsigned char 8 bits 0 +255 short 16 bits -32,768 +32,767 unsigned short 16 bits 0 +65,535 int 16 bits -32,768 +32,767 unsigne