# include // This next incantion says to treat the external reference, addsome, // as a normal, C program, not as a C++ external reference, which would // mean it had objects, classes, and methods. (Thanks, Glenn) extern "C" { void addsome(); } main() { char name [72]; printf("Hi! What's your first name?\n"); scanf(" %s", name); printf("Hello, %s!\n", name); printf("You have a very nice, intelligent-sounding name.\n"); addsome(); }