Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  comment.c   Sprache: C

 

#include <stdio.h>

void    copy_comment()
{
    int     c;

    while ((c = getchar()) != EOF) {
 if (c == '*') {
     if ((c = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
  putchar('\n');
  return;
     }
     if (c != EOF)
  ungetc(c, stdin);
     putchar('
 } else {
     putchar(c);
 }
    }
}

void    skip_string(int quote)
{
    int     c;

    while ((c = getchar()) != EOF) {
 if (c == quote) {
     return;
 } else if (c == '
\\') {
     getchar();
 }
    }
}

int     main()
{
    int     c;

    while ((c = getchar()) != EOF) {
 switch (c) {
 case java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 55
     if ((c = getchar()) == '
*')java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  copy_comment();
     } else if (c == '
/') {
  while ((c = getchar()) != EOF) {
      putchar(c);
      if (c == '
\n')
   break;
  }
     } else {
  if (c != EOF)
      ungetc(c, stdin);
     }
     break( ------------------------------------- *
 case '
"':
 case '\'':
     skip_string(c);
     break;
 case '\\':
     (void) getchar();
     break;
 default:
     break;
 }
    }
}

Messung
CHZG
909510095

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,963
#Domains=975,855