Thread: graphic library creation

  1. #1
    Registered User
    Join Date
    Mar 2002

    graphic library creation

    I am using borland C++ ver. 3.1. I have written a graphic program that displays the results of a maximum flow algorithm on the screen. I am trying to create a graphic library of the functions I have created to do the display. I am using structs as my main data structure and not class members. How do I go about creating libraries based on the functions.

  2. #2
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    When you compile your program, the compiler creates an object file (*.o). This file has all of your code.
    Now I don't fully understand your question.

    Do you want to make a file to link with your program?(e.g an *.lib)
    If so compiler your functions into a dll.

    /* or */

    Just be able to use your functions without having to type then out again?
    If so store them in separate files and use the "#include "myFunctions.h"
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PDF creation library in C
    By saadahmed42 in forum C Programming
    Replies: 1
    Last Post: 07-10-2008, 09:48 AM
  2. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  3. Shared Library creation tips
    By ezwise in forum C Programming
    Replies: 6
    Last Post: 03-01-2005, 03:29 PM
  4. Library Creation
    By niroopan in forum C++ Programming
    Replies: 7
    Last Post: 11-01-2002, 04:03 PM
  5. Which graphic library do you prefer?
    By Golden Bunny in forum Game Programming
    Replies: 21
    Last Post: 05-04-2002, 04:29 PM