サイトマップ / C言語講座>出入り口>総目次>目次:ヒープ領域>分割コンパイル(ソース1)||ソース2
#include <stdio.h>
const char *unit[ ] = { "atto ", "centi", "deca ", "deci ", "exa ", "kilo ",
"femto", "giga ", "hecto", "mega ",
"micro", "milli", "nano ", "peta ",
"pico ", "tera ", NULL
};
void ShowUnit(const char **p);
void ShowUnit(const char **p)
{
while (*p != NULL) {
printf("%s ", *p);
p++;
}
printf("\n");
}
/* (C) 2000- YFプロ. All Rights Reserved. */ 提供:C言語講座−それ自体コンパイルできる教材を使った講座です−