Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 63 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. void SetMatte()
  2. {
  3.     int a,b,c,d,e,f,g,h,i,x,k,m,q,s;
  4.     char UpperLeft[2]  ;
  5.     char UpperRight[2] ;
  6.     char LowerLeft[2]  ;
  7.     char LowerRight[2] ;
  8.     char Horizontial[2];
  9.     char Vertical[2]   ;
  10.     char Matte[2]      ;
  11.        
  12.     LowerLeft[0]     = 192;
  13.     UpperLeft[0]     = 218;
  14.     LowerRight[0]    = 217;
  15.     UpperRight[0]    = 191;
  16.     Horizontial[0]   = 196;
  17.     Vertical[0]      = 179;
  18.     Matte[0]         = 176;
  19.  
  20.     LowerLeft[1]     = '\0';
  21.     UpperLeft[1]     = '\0';
  22.     LowerRight[1]    = '\0';
  23.     UpperRight[1]    = '\0';
  24.     Horizontial[1]   = '\0';
  25.     Vertical[1]      = '\0';
  26.     Matte[1]         = '\0';
  27. }
  28. void ClearScreen()
  29. {
  30.     system("pause");
  31.     system("cls");
  32. }
  33.     //printf("\t\t   VENTURA COUNTY COMMUNITY COLLEGE DISTRICT\n");
  34.     //printf("\t\t\t\tVENTURA College\n\n");
  35.     //printf("\t\t\t    Programing Fundamentals\n");
  36.     //printf("\t\t\t\t     CS V11\n\n");
  37.     //printf("\t\t\t\t Patrick Finie\n\n\n");
  38. void Background(int BackColor)    
  39. {
  40.     int           k,m  ;
  41.     char          Matte;
  42.     Matte         = 176;
  43.  
  44.     _settextcolor(BackColor);
  45.     for ( k=1; k < 80; k++)
  46.     {
  47.         for ( m=0 ; m < 46 ; m++)
  48.         {
  49.             _settextposition(m,k);
  50.             _outtext(Matte);
  51.         }
  52.     }
  53. }
  54. void Header()
  55. {
  56.     int k;
  57.        
  58.     _settextcolor(11);
  59.     k = strlen("VENTURA COUNTY COMMUNITY COLLEGE DISTRICT");
  60.     _settextposition(1,(80-k)/2);
  61.     _outtext("VENTURA COUNTY COMMUNITY COLLEGE DISTRICT");
  62.  
  63.     _settextcolor(10);
  64.     k = strlen("VENTURA College");
  65.     _settextposition(2,(80-k)/2);
  66.     _outtext("VENTURA College");
  67.  
  68.     _settextcolor(9);
  69.     k = strlen("Programing Fundamentals");
  70.     _settextposition(4,(80-k)/2);
  71.     _outtext("Programing Fundamentals");
  72.  
  73.     _settextcolor(8);
  74.     k = strlen("CS V11");
  75.     _settextposition(5,(80-k)/2);
  76.     _outtext("CS V11");
  77.  
  78.     _settextcolor(7);
  79.     k = strlen("Patrick Finie");
  80.     _settextposition(7,(80-k)/2);
  81.     _outtext("Patrick Finie");
  82.  
  83.     _settextcolor(6);
  84.     k = strlen("<<<MENU>>>");
  85.     _settextposition(9,(80-k)/2);
  86.     _outtext("<<<MENU>>>");
  87.  
  88.     _settextcolor(5);
  89.     k = strlen("1. Fried Student Brain in alabaster sause.");
  90.     _settextposition(11,(80-k)/2);
  91.     _outtext("1. Fried Student Brain in alabaster sause.");
  92.  
  93.     _settextcolor(4);
  94.     k = strlen("2. Mysterious gelutionous meat paired with stale bread.");
  95.     _settextposition(12,(80-k)/2);
  96.     _outtext("2. Mysterious gelutionous meat paired with stale bread.");
  97.  
  98.     _settextcolor(3);
  99.     k = strlen("3. Fried Fish head with me love you long time on the side.");
  100.     _settextposition(13,(80-k)/2);
  101.     _outtext("3. Fried Fish head with me love you long time on the side.");
  102.  
  103.     _settextcolor(2);
  104.     k = strlen("4. Sarsi with a case of Pocky!");
  105.     _settextposition(14,(80-k)/2);
  106.     _outtext("4. Sarsi with a case of Pocky!");
  107.  
  108.     _settextcolor(1);
  109.     k = strlen("5. Whatever this is I would not recomend eating it.");
  110.     _settextposition(15,(80-k)/2);
  111.     _outtext("5. Whatever this is I would not recomend eating it.");
  112.  
  113.     _settextcolor(12);
  114.     k = strlen("6. A drink with illegal amounts of caffine in it.");
  115.     _settextposition(16,(80-k)/2);
  116.     _outtext("6. A drink with illegal amounts of caffine in it.");
  117.  
  118.     _settextcolor(13);
  119.     k = strlen("7. Fresh Grilled Kirby with Au Graten. (T_T ) ");
  120.     _settextposition(17,(80-k)/2);
  121.     _outtext("7. Fresh Grilled Kirby with Au Graten. (T_T ) ");
  122.  
  123.     _settextcolor(14);
  124.     k = strlen("8. I found this in the bathroom *desu* it is tasty!");
  125.     _settextposition(18,(80-k)/2);
  126.     _outtext("8. I found this in the bathroom *desu* it is tasty!");
  127.  
  128.     _settextcolor(15);
  129.     k = strlen("9. Something that was microwaved is on the plate now.");
  130.     _settextposition(19,(80-k)/2);
  131.     _outtext("9. Something that was microwaved is on the plate now.");
  132.  
  133.     _setbkcolor(1);
  134.     k = strlen("10. This item was stolen from Disneyland.");
  135.     _settextposition(20,(80-k)/2);
  136.     _outtext("10. This item was stolen from Disneyland.");
  137. }
  138. void EndLine()
  139.     _setbkcolor(1);
  140.     k = strlen("11/1/11");
  141.     _settextposition(45,1);
  142.     _outtext("11/1/11");
  143.  
  144.     _setbkcolor(1);
  145.     k = strlen("page 1");
  146.     _settextposition(45,(80-k)/2);
  147.     _outtext("page 1");
  148.  
  149.     _setbkcolor(1);
  150.     k = strlen("ZZ Top");
  151.     _settextposition(45,80-k);
  152.     _outtext("ZZ Top");
  153. }
  154. void EndPosition()
  155.     _settextposition(46,1);  
  156. }
  157. /*void MatteAssign()
  158. {
  159.     LowerLeft[]     = 192,'\0';
  160.     UpperLeft[]     = 218,'\0';
  161.     LowerRight[]    = 217,'\0';
  162.     UpperRight[]    = 191,'\0';
  163.     Horizontial[]   = 196,'\0';
  164.     Vertical[]      = 179,'\0';
  165.     Matte[]         = 176,'\0';
  166.  
  167. }
  168.  
  169. void ClearTheScreen()
  170. {
  171.     system("pause");
  172.     system("cls");
  173. }
  174.  
  175.  void MatteOne(int ColorMatte)
  176. {
  177.      _settextcolor(ColorMatte);
  178.     for ( k = 1; k < 80; k++)
  179.     {
  180.         for ( m = 0 ; m < 46 ; m++)
  181.         {
  182.             _settextposition(m,k);
  183.             _outtext(Matte);
  184.         }
  185.     }
  186. }
  187. void Heading()
  188. {
  189.  
  190. } */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top