Thread: problems using xxxxx.h functions

  1. #1
    MadMax007
    Guest

    Question problems using xxxxx.h functions

    I'm new to linux and c or c++, but i have been using programing languages in the past. Mainly hi level compilers (games). I mainly do this as a hobby. Lately I've decided to use linux (great, I love it) and c++ to program my games. C seems OK to program in (still need to understand OOP better to use C++). But I've run into this problem: Where can I find information on using the function libraries, more specifically I need to now the commands relevant to these libs ie: put_pixel(x,y) printf() or whatever.


    Cheers

    Pentium 150 Mhz Red Hat 7.0
    AMD Athlon 1Ghz Red Hat 7.2

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    this is probably not the answer you want to hear, but the guaranteed way of finding the documentation on your system is to look at the library file itself to see what it does. They tend to be fairly well commented.

    Another valid option is a google search on the library you want to work with, sometimes you can even find the website where the library originated and get their documentation. You could also shell out the money for a nice, big, hefty unix programmer's manual.

    starX
    www.axisoftime.com

  3. #3
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    See man pages on 'nm' command. This command will list down all the modules in a library.

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    tyr man g++
    or man (what ever compiler u are using)

    or take a look at your ide s help pages
    C++ Makes you Feel Better

    "Gravity connot be held reponsible for people falling in love"--Albert Einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Attaching functions to a class/struct
    By VirtualAce in forum Tech Board
    Replies: 2
    Last Post: 08-04-2003, 10:56 AM
  2. Replies: 6
    Last Post: 05-06-2003, 03:08 PM
  3. Problems with functions in a class with pointer to self
    By BigDaddyDrew in forum C++ Programming
    Replies: 6
    Last Post: 02-03-2003, 11:24 PM
  4. problems passing parameters between functions
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 11-21-2001, 11:41 AM
  5. problems with functions
    By catalyst in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 06:55 AM