Headerdateien einbinden, und vielleicht überprüfen, ob auf der Kommandozeile die Größe des Feldes als Argument übergeben wurde.
Hier noch einmal der ganze Quellcode:
/* Copyright by Moritz Lenz (C) 2006. */ /* You may use this file under the terms of the MIT license */ #include <stdio.h> #include <stdlib.h> typedef signed short int field_type;
moritz.faui2k3.orgNow only routine tasks are left, like including the apropriate header files and parsing the command line argument to set the field size.
Here is the full source code:
/* Copyright by Moritz Lenz (C) 2006. */ /* You may use this file under the terms of the MIT license */ #include <stdio.h> #include <stdlib.h> typedef signed short int field_type;
moritz.faui2k3.orgDie Freiheit, die Funktionsweise des Programms zu untersuchen und eigenen Bedürfnissen anzupassen ( Freiheit 1 ).
Der Zugang zum Quellcode ist dafür Voraussetzung.
Die Freiheit, das Programm weiterzuverbreiten und damit seinen Mitmenschen zu helfen (Freiheit 2).
www.gnu.orgThe freedom to study how the program works, and adapt it to your needs ( freedom 1 ).
Access to the source code is a precondition for this.
The freedom to redistribute copies so you can help your neighbor (freedom 2).
www.gnu.orgΘέλετε να προσθέσετε μια λέξη, φράση ή μετάφραση?
Καταχωρίστε νέο λήμμα.