Thread: how do i connect a C file in TC

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    15

    how do i connect a C file in TC

    to a Lib file?

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    15

    mmm...

    i don't mean do this:
    #include <header.h>
    i mean i downloaded a lib file
    how do i add it to my project so i won't get errors when i try to use the functions in it?
    in TC++ or TC

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    When compiling, tell the compiler to include that library. You probably need to check your compiler's manual for that.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  4. #4
    Registered User
    Join Date
    Dec 2002
    Posts
    15
    Originally posted by damonbrinkley
    When compiling, tell the compiler to include that library. You probably need to check your compiler's manual for that.
    i tried and i couldn't find there!

  5. #5
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Well the obvious _next_ question is what compiler are you using?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  6. #6
    Registered User
    Join Date
    Dec 2002
    Posts
    15
    Originally posted by Sebastiani
    Well the obvious _next_ question is what compiler are you using?
    as i said twice already ... TC++ or TC

  7. #7
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    Does TC or TC++ have a name? I'm not familiar with it.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  8. #8
    Registered User
    Join Date
    Dec 2002
    Posts
    15

    Turbo C++

    Turbo C++

  9. #9
    Registered User
    Join Date
    Dec 2002
    Posts
    15

    UP

    please i need help

  10. #10
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    Sorry, I'm not familiar with Turbo C++. Check their website is all the advice I can give you.l
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  11. #11
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    You obviously did not look very hard. All compilers, even TC++ have the ability to link with libraries so it is obviously in the help files. You also might try just looking around in your options. You can't expect other people to know more about a compiler you use and they don't.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  2. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM