🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #2084

Compiling code with files with .lib extension

#2084
From: Ohima Agans-Oliha
Date: Thu, 14 Dec 1995 00:23
19 lines
1711 bytes
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.

***************************************************************************
*     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: <Pine.SOL.3.91.951213191901.4036B-100000@shiva.hunter.cuny.edu>
Path: arc1-ca.pugleaf.net!shiva.hunter.cuny.edu!oaganso

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!shiva.hunter.cuny.edu!oaganso
From: Ohima Agans-Oliha <oaganso@shiva.hunter.cuny.edu>
Newsgroups: rec.games.programmer,comp.lang.c++
Subject: Compiling code with files with .lib extension
Date: Wed, 13 Dec 1995 19:23:37 -0500
Organization: City University of New York/University Computer Center
Message-ID: <Pine.SOL.3.91.951213191901.4036B-100000@shiva.hunter.cuny.edu>
NNTP-Posting-Host: shiva.hunter.cuny.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII