Saturday, May 9, 2009

How can i include files(header) in c++?

i recently installed c++ in my computer and i wrote a program and compiled it and there were errors like unable to include file stdio.h,math.h,etc........ somebody tell me how to include the file ,the directory

How can i include files(header) in c++?
Use the code





#include %26lt;stdio.h%26gt; OR


#include "yourown.h"





But you must tell the compiler where these files are found


No comments:

Post a Comment