main.cpp 723 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #include <iostream>
  2. #include "entierlong.h"
  3. #include "utilitaires.h"
  4. #include "lit_ecrit.h"
  5. using namespace std;
  6. int main()
  7. {
  8. /// Début
  9. // Annonce
  10. cout << "Hello world!" << endl;
  11. // Variables
  12. int a;
  13. EntierLong b;
  14. // Utilisateur
  15. cout << "Rentrez a : ";
  16. cin >> a;
  17. /// Traitement
  18. // Conversion
  19. b = conversionEntier(a);
  20. // Affichage
  21. cout << "Voici b :" << endl;
  22. AfficheEntierLong(b);
  23. /*bool estCeQueJeMappelleJovian;
  24. estCeQueJeMappelleJovian = true; // true
  25. if (estCeQueJeMappelleJovian)
  26. {
  27. cout << "Il s'appelle Jovian !" << endl;
  28. }
  29. else
  30. {
  31. cout << "Il ne s'appelle pas Jovian !" << endl;
  32. }*/
  33. return 0;
  34. }