User Profile

Collapse

Profile Sidebar

Collapse
eldiablo
eldiablo
Last Activity: Feb 26 '12, 05:49 AM
Joined: Feb 11 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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.
    See more | Go to post

    Leave a comment:


  • 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...
    See more | Go to post
No activity results to display
Show More
Working...