Article View: rec.games.programmer
Article #2083Re: Compiling code with files with .lib extension
From: uglmiller
Date: Thu, 14 Dec 1995 05:43
Date: Thu, 14 Dec 1995 05:43
26 lines
1995 bytes
1995 bytes
In article <Pine.SOL.3.91.951213191901.4036B-100000@shiva.hunter.cuny.edu>, Ohima Agans-Oliha <oaganso@shiva.hunter.cuny.edu> writes: > > hi all, > i have a problem with .lib files. for example i have a file "graf.h" > with names of functions, and "graf.lib" with the prototypes. i include > "graf.h" in a program "test.cpp". if i compile it tells me funcition > <xxx> should have prototype. i know i am not linking the "graf.lib" file. > how do i link the "graf.lib" file with the program? i used project...it > didn't work. answers shall be appreciated. Um, prototypes aren't in .LIB files... They should be in your graf.h file... My guess would be that the function name was mistyped or simply isn't present in the header. > > *************************************************************************** > * Thou Shalt not look upon my signature, vermin !! * > * * > * The El la Graphic Artiste. * > * Programming := Pascal,C/C++,Assembly,Basic... * > * Computer Science/Pre-Med/Mathematics ... What a great Career. * > * Reached at oaohc@cunyvm.cuny.edu / oaohc@cunyvm.bitnet (temp.) * > * oaganso@shiva.hunter.cuny.edu * > * ooliha@130.253.192.89 :) hahahahahaha * > *************************************************************************** > >
Technical Details
Message-ID:
<1995Dec14.004342@msuvx1.memphis.edu>Path:
arc1-ca.pugleaf.net!msuvx1.memphis.edu!uglmillerReferences:
<Pine.SOL.3.91.951213191901.4036B-100000@shiva.hunter.cuny.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!msuvx1.memphis.edu!uglmiller From: uglmiller@cc.memphis.edu Newsgroups: rec.games.programmer,comp.lang.c++ Subject: Re: Compiling code with files with .lib extension Date: 14 Dec 95 00:43:42 -0500 Organization: The University of Memphis Message-ID: <1995Dec14.004342@msuvx1.memphis.edu> References: <Pine.SOL.3.91.951213191901.4036B-100000@shiva.hunter.cuny.edu> NNTP-Posting-Host: msuvx1.memphis.edu