libraries

This is a discussion on libraries within the C++ Programming forums, part of the General Programming Boards category; how would i go about creating my own library? ex: one like OpenGL, or some thing? is it like a ...

  1. #1
    Unregistered
    Guest

    libraries

    how would i go about creating my own library? ex: one like OpenGL, or some thing? is it like a .dll?

  2. #2
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    basicly its a file containing stuff like. if i had a file containing a bunch of varibales i would include it into myproject then i dont have to look at them while i program but i can still call for them.. if u want to create a file such as that all you gotta do is make a file put the stuff in it and name it .h or .o or wutever. header files purpse is to do stuff for you like miles of lines that you dont have do bother with. all you gotta do is include them. thats why a 1000 line program can be smaller then a 500. cause he 500 line program may ahve included big heade rfiles while the 1000 line one included 2 or 3 small ones.
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GCC: Compiling with both static and shared libraries
    By eatwithaspork in forum C Programming
    Replies: 4
    Last Post: 06-23-2008, 02:48 PM
  2. Replies: 7
    Last Post: 05-13-2008, 04:47 AM
  3. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 09:15 AM
  4. Libraries and headers
    By darksaidin in forum C++ Programming
    Replies: 10
    Last Post: 07-23-2003, 07:24 AM
  5. QT and external libraries
    By Quacker in forum Linux Programming
    Replies: 1
    Last Post: 04-08-2003, 08:02 AM

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