Skip to content

Anto369-mala963/cuddly-octo-tribble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SU di me. ho 66anni vivo a Milano e sto cercando di capire cosa mi puo dare Gitub

cuddly-octo-tribble

#include #include #include using namespace std; int main() { int w = 20; cout << setw(w) << "TIPO" << setw(w) << "BYTES" << setw(w) << "MIN" << setw(w) << "MAX" << endl; cout << setw(w) << "int" << setw(w) << sizeof(int) << setw(w) << numeric_limits::min() << setw(w) << numeric_limits::max() << endl; cout << setw(w) << "char" << setw(w) << sizeof(char) << setw(w) << (int) numeric_limits::min() << setw(w) << (int) numeric_limits::max() << endl; cout << setw(w) << "float" << setw(w) << sizeof(float) << setw(w) << numeric_limits::min() << setw(w) << numeric_limits::max() << endl; cout << setw(w) << "double" << setw(w) << sizeof(double) << setw(w) << numeric_limits::min() << setw(w) << numeric_limits::max() << endl; cout << setw(w) << "bool" << setw(w) << sizeof(bool) << setw(w) << numeric_limits::min() << setw(w) << numeric_limits::max() << endl; /* Attenzione: queste righe generano errori di compilazione! cout << setw(w) << "void" << setw(w) << sizeof(void) << setw(w) << numeric_limits::min() << setw(w) << numeric_limits::max() << endl; */ return 0; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published