[comp.lang.c++] TC++ calling TC function gives error

jr@hpgnd.grenoble.hp.com (Jean-Ren BOUVIER) (01/10/91)

if you wanna link a C function to a C++ program you needa say it !
Thus your test1.cpp file should contain:

extern "C" {
	int foobar(int, int);
}

- jr