|
From: danilo\.ferrarotti\@libero\.it <dan...@li...> - 2007-12-11 22:11:00
|
Good evening everybody, i have a problem with the mailing list of Dev-C++ and also with this prog= ram. I'm a C++ student and In my book the gcd.cpp is an external file fro= m header file localmath.h but if i try to compile the prova.cpp i receive= a linker error for undefined link to gcd function., otherwise if i put t= he gcd definition inside the localmath.h as the abs function everything i= s correct. Could anyone explain me why? and how could i use the gcd funct= ion defined externaly from localmath.h without an error? the programs are in the zip file enclosed. thanks very much to everybody Danilo |