fork(1) download
  1. /**************************************************************************
  2.  * AUTHOR : Matthew Santos *
  3.  * STUDENT ID : A00294169 *
  4.  * LAB #1 : ideone Tutorial *
  5.  * CLASS : CS1A *
  6.  * SECTION : ATAS 144 10:30 - 12:50 *
  7.  * DUE DATE : 8/21/2025 *
  8. *************************************************************************/
  9.  
  10. #include <iostream>
  11. #include <iomanip>
  12. using namespace std;
  13.  
  14. int main ()
  15. {
  16. /**********************************************************************
  17.  * CONSTANTS
  18. * --------------------------------------------------------------------
  19. * PROGRAMMER : Programmer's Name
  20. * CLASS : Student's Course
  21. * SECTION : Class Days and Time
  22. * LAB_NUM : Lab Number
  23. * LAB_NAME : Title of the Lab
  24. *********************************************************************/
  25. const char PROGRAMMER[30] = "Matthew Santos";
  26. const char CLASS[5] = "CS1A";
  27. const char SECTION[25] = "ATAS 10:30PM - 12:50PM ";
  28. const int LAB_NUM = 1;
  29. const char LAB_NAME[17] = "Ideone Tutorial";
  30.  
  31. cout << left;
  32. cout << "**************************************************";
  33. cout << "\n* PROGRAMMED BY : " << PROGRAMMER;
  34. cout << "\n* " << setw(14) << "CLASS" << ": " << CLASS;
  35. cout << "\n* " << setw(14) << "SECTION" << ": " << SECTION;
  36. cout << "\n* LAB #" << setw(9) << LAB_NUM << ": " << LAB_NAME;
  37. cout << "\n**************************************************\n\n";
  38. cout << right;
  39.  
  40. return 0;
  41.  
  42. }
  43.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
**************************************************
* PROGRAMMED BY : Matthew Santos
* CLASS         : CS1A
* SECTION       : ATAS 10:30PM - 12:50PM 
* LAB #1        : Ideone Tutorial
**************************************************