A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Aqua Dove, 5 Years ago, written in C++.
Embed
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void)
  5. {
  6.     char name[1000][11] = {'\0'};
  7.     char c;
  8.     int i, t;
  9.     int num = 0;
  10.  
  11.     for (i = 0; i < 1000; i++)
  12.     {
  13.         t = 0;
  14.         while ((c = getchar()) != '\n' && (c != '.'))
  15.         {
  16.             name[i][t++] = c;
  17.         }
  18.         if (c == '.')
  19.             break;
  20.         num = i;
  21.     }
  22.     if (num >= 14)
  23.     {
  24.         printf("%s and %s are inviting you to dinner...", name[1], name[13]);
  25.     }
  26.     else if ((num < 14) && (num >= 2))
  27.     {
  28.         printf("%s is the only one for you...", name[1]);
  29.     }
  30.     else if (num < 2)
  31.     {
  32.         printf("Momo... No one is for you ...");
  33.     }
  34.     system("pause");
  35. }