It sounds like you need to include the header file that has the definition for printf in it. If you're doing C++, include cstdio: '#include <cstdio>'. If you're doing C, include stdio.h: '#include <stdio.h>'. The compiler should normally know where to find them. If it says that it can't find them, then we need to know more information about your environment. For example, what operating system are you using? Thanks, Lyle -----Original Message----- From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On Behalf Of José Antonio Pinto Sent: Thursday, June 03, 2004 10:19 AM To: gcc-help@xxxxxxxxxxx Subject: Compilling cpp files. I'm whit problems then compiler files .cpp an others. Do not exist stdio.h, matc.h, etc. Where find this files or peckages??? Error message: teste.cpp:7: error: `printf' undeclared (first use this function) Yours truly, José Antonio Pinto.