coursc/variables/16.tex
Florian Maury 0b4615ed74 initial
2014-02-24 18:38:56 +01:00

29 lines
975 B
TeX

\begin{frame}
\frametitle{\secname}
\framesubtitle{\subsecname~II}
Voici une liste des types primitifs~:
\par
{\footnotesize\begin{tabular}{|>{\centering\arraybackslash}m{2cm}|>{\centering\arraybackslash}m{1cm}|>{\centering\arraybackslash}m{3.2cm}|>{\centering\arraybackslash}m{3cm}|}
\hline
Type & Taille & Min & Max \\
\hline
signed char & 8 bits & -128 & 127 \\
\hline
unsigned char & 8 bits & 0 & 255 \\
\hline
short (int)& 16 bits & -32768 & 32767 \\
\hline
unsigned short (int) & 16 bits & 0 & 65535 \\
\hline
int & 32 bits & -2147483648 & 2147483647 \\
\hline
unsigned int & 32 bits & 0 & 4294967295 \\
\hline
long (int) & 32 bits \linebreak ou \linebreak 64 bits & -2147483648 \linebreak ou \linebreak -9223372036854775808 & 2147483647 \linebreak ou \linebreak 9223372036854775807 \\
\hline
unsigned long (int) & 32 bits \linebreak ou \linebreak 64 bits & 0 & 4294967295 \linebreak ou \linebreak 1844674407370955161 \\
\hline
\end{tabular}}
\end{frame}