kennen:include:cstdio
no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | kennen:include:cstdio [2012-02-24 15:16] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== < | ||
+ | ===== Funktionen ===== | ||
+ | ==== Eingabe ==== | ||
+ | <code cpp> | ||
+ | int fgetc (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Liest ein Zeichen aus der Datei. | ||
+ | |||
+ | <code cpp> | ||
+ | int getc (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Liest ein Zeichen aus der Datei. | ||
+ | |||
+ | <code cpp> | ||
+ | int getchar (void) | ||
+ | </ | ||
+ | [[..: | ||
+ | Liest ein Zeichen von der Standardeingabe. | ||
+ | |||
+ | <code cpp> | ||
+ | int ungetc (int c, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | char * fgets (char *s, int groesse, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Holt die nächste Zeichenkette, | ||
+ | |||
+ | <code cpp> | ||
+ | char * gets (char *s) | ||
+ | </ | ||
+ | [[..: | ||
+ | Holt eine Zeichenkette von '' | ||
+ | |||
+ | ==== Ausgabe ==== | ||
+ | <code cpp> | ||
+ | int fputc (int c, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int putc (int c, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int putchar (int c) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int fputs (const char *s, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int puts (const char *s) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | ==== Formatierte Eingabe ==== | ||
+ | <code cpp> | ||
+ | int fscanf (FILE *datei, const char *format, ...) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int scanf (const char *format, ...) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int sscanf (const char *s, const char *format, ...) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | ==== Formatierte Ausgabe ==== | ||
+ | <code cpp> | ||
+ | int fprintf (FILE *stream, const char *format, ...) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int printf (const char *format, ...) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int sprintf (char *s, const char *format, ...) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int vfprintf (FILE *datei, const char *format, va_list ap) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int vprintf (const char *format, va_list ap) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int vsprintf (char *s, const char *format, va_list ap) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | ==== Dateien ==== | ||
+ | <code cpp> | ||
+ | size_t fread (void *zeiger, size_t groesse, size_t anzahl, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Liest in den Speicher ab '' | ||
+ | |||
+ | <code cpp> | ||
+ | size_t fwrite (const void *zeiger, size_t groesse, size_t anzahl, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int fflush (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Leert den Ausgabepuffer. Schreibt alle vorher ausgebenen Daten in die '' | ||
+ | |||
+ | <code cpp> | ||
+ | void setbuf (FILE *datei, char *puffer) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int setvbuf (FILE *datei, char *puffer, int modus, size_t groesse) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | FILE * fopen (const char *dateiname, const char *modus) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | FILE * freopen (const char *dateiname, const char *modus, FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int fclose (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | FILE * tmpfile (void) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | char * tmpnam (char *dateiname) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | long int ftell (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int fseek (FILE *datei, long int offset, int bezug) | ||
+ | </ | ||
+ | [[..: | ||
+ | " | ||
+ | |||
+ | <code cpp> | ||
+ | int fgetpos (FILE *datei, fpos_t *position) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int fsetpos (FILE *datei, const fpos_t position) | ||
+ | </ | ||
+ | [[..: | ||
+ | Setzt die aktuelle Position innerhalb der Datei. | ||
+ | |||
+ | <code cpp> | ||
+ | void rewind (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Spult '' | ||
+ | |||
+ | <code cpp> | ||
+ | int feof (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Ist das Ende der '' | ||
+ | |||
+ | <code cpp> | ||
+ | int ferror (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Ist ein Fehler beim Benutzen der '' | ||
+ | |||
+ | <code cpp> | ||
+ | void perror (const char *meldung) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | void clearerr (FILE *datei) | ||
+ | </ | ||
+ | [[..: | ||
+ | Setzt Dateiende- und Fehleranzeigen für die '' | ||
+ | |||
+ | <code cpp> | ||
+ | int remove (const char *dateiname) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | int rename (const char *altername, const char *neuername) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
kennen/include/cstdio.txt · Zuletzt geändert: 2012-02-24 15:16 von 127.0.0.1