true.
I created three files.
A '.h. file, a '.lib' file and a '.obj' file.
i put the '.h' file in the include folder and the other two in the lib folder.
yet the problem persists.
do i have to include the binary library file too or just save the files in different locations.
User Profile
Collapse
Profile Sidebar
Collapse
eldiablo
Last Activity: Feb 26 '12, 05:49 AM
Joined: Feb 11 '12
Location:
-
how to create a user defined library and add functions to it?
i use turbo c++ v3.0.
i tried to create a library and add the following functions to it.
int prime(int);
long fact(long);
i used the standard procedure for doing so.
yet when i tried to use my functions after including the header file i had created, a linker error occured.
linker error : undefined symbol fact(long) in module noname00.cpp.
now i had used 'int' in my program...
No activity results to display
Show More
Leave a comment: