graphic library creation

This is a discussion on graphic library creation within the C++ Programming forums, part of the General Programming Boards category; I am using borland C++ ver. 3.1. I have written a graphic program that displays the results of a maximum ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    7

    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
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    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, 10:48 AM
  2. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 08: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, 05:29 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21