Zum Inhalt springen

GranRoble

Mitglieder
  • Gesamte Inhalte

    1
  • Benutzer seit

  • Letzter Besuch

Alle Inhalte von GranRoble

  1. #include <stdlib.h> #include <stdio.h> int main(void) { int puffer[1024]; FILE *ziel; FILE *quelle; int i; int j; ziel = fopen("ziel.txt", "w+"); quelle = fopen("quelle.txt", "r+b"); if(quelle != NULL) for (j = 0; j < 10; j++) { fread(&puffer, sizeof(int), 1024, quelle); fwrite(&quelle, sizeof(int), 1024, ziel); } else { exit (1); } system("PAUSE"); return EXIT_SUCCESS; }

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...