This is very simply of creating your own header file well let me tell you one thing... Please i hope you know how to create functions yes this is the same way just create a function like the same way prototypes and stuffs and after that if you want to use it like #include<stdio.h> if you want to call it or use it with the <> then you have to go inside the compiler and put it inside the library like DEV C++,, C:\DEV-Cpp\include this you can call it using the #include<stdio.h>!!!! but when using #include"stdio.h" is where your executable file or source is then you have to use the "" to call it... anyway i hope this will answer your question. it is easy as the way we build a function....
Prince Annan Koomson --- On Fri, 11/21/08, Thomas Hruska <[EMAIL PROTECTED]> wrote: From: Thomas Hruska <[EMAIL PROTECTED]> Subject: Re: [c-prog] Header file To: [email protected] Date: Friday, November 21, 2008, 1:42 PM Tamas Marki wrote: > On Fri, Nov 21, 2008 at 10:37 AM, sudhakar bonthu > <bonthu.sudhakar@ yahoo.com> wrote: >> Hi everybody, >> I want to create my own header file in c/c++. How can i? > > Exactly the same way you create your c or cpp files, you create a new > file in your text editor and save it as myfile.h. But don't expect functions to magically appear or exist just because you write a prototype into a header file. You will have to write those functions too. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleS oft.com/MyTaskFo cus/ [Non-text portions of this message have been removed]
