coursc/variables/16.tex

30 lines
975 B
TeX
Raw Normal View History

2014-02-24 17:38:56 +00:00
\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}