Yurttas/PL/IL/C/F-mar11/04/02/00/07/io gs 07.c

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2   Copyright(C) 1998
 3   All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4
 5   Permission to use, copy, modify, and distribute this
 6   software and its documentation for EDUCATIONAL purposes
 7   and without fee is hereby granted provided that this
 8   copyright notice appears in all copies.
 9
10   date   : January 1, 1998.
11   author : Salih Yurttas.
12
13   io_gs_07.c
14*/
15
16
17#include "parameters.h"
18
19#include "f_specs.h"
20
21int main(int argc, char *argv[]) {
22
23  char **s;
24
25  int n;
26
27  s = (char**) malloc(MAX_NO_STRING*sizeof(char*));
28
29  n = input(s);
30
31  double_space(s,
32               n);
33
34  output(s,
35         n);
36
37}