Re: [Dev-C++] implementation .o procedure
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Elizabeth B. <sog...@ya...> - 2002-10-14 03:34:36
|
If you still do not understand, do this:
Make a new C project and call it "testC". Then make a new C header
file entitled "testCheader.h" and type in:
#include <stdio.h>
int
tester(void)
Save it.
Then make a new C source code file entitled "testCobject.c":
#include "testCheader.h"
int tester(void) {
printf("hi.\n");
}
Save it.
Then, in Dev-C++, push the Compile button. Provided there are no
errors, look at the directory where testCobject.c was compiled - there
should be a object file entitled "testCobject.o" there. That object
file (testCobject.o) and the header file (testCheader.h) is what you
want to share with your friends.
If you want the tutorial on how to use these, let me know.
Elizabeth
|