とりあえず,大学の Windows PC でやってみました. ソースコードはこんな感じです. cat.c (ん ?) #include<stdio.h> void cry() {printf("Nya-, Nya- !\n");} dog.c (あれれ ? もしかして…) #include<stdio.h> void cry() {printf("Bow, Bow !\n");} polymorphism.c (ほらほら,だんだん嫌な予感がしてきたでしょ w) #include<stdio.h> #include<string.h> #include<assert.h> #include<dlfcn.h> int main(int argc, char** argv) { void (*cry)(); void* handle; char dlname[256]; #if defined