473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to create userdefined library using turbo c++

I wrote the functions count() and spell() in first.c
I compiled it as standard library by alt+f9,but it created first.obj only insteadof first.lib
Then I pressed ctrl+f9,It gave a message box displaying
Not an exe
first.lib
Now first.lib was created in bin
Then I copied and pasted the first.lib in Lib directory
Now I wrote the program with first.h included and I tried to call the functions
But I got linker error
[Linker error]undefined symbol _spell in first.c[/linker error]
[Linker error]undefined symbol _count in first.c[/linker error]
Jan 23 '11 #1
1 4460
horace1
1,510 Expert 1GB
which version of Turbo C are you using

if it is V2.0 or V3.0 (the DOS version) have a look TLIB using the help system, i..e.
start turbo C
click Help
click Topic Search
type TLIB
the help system shows you how to use the TLIB program

if you are using an early version of Turbo C I would recommend you to switch to a more modern system. There are free IDEs that you can download, e.g. CodeBlocks with gcc
Jan 26 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: doodoosy | last post by:
Hi, I'd like to know how to write a program witch don't use the runtime library so it will be smaller... I use turbo C 3 and I also have TASM
1
by: Peter Krikelis | last post by:
Hi, I am trying to develope a User Control Library that features MScomm control. I test my user control in a test application. When I run the application I receive the following: An...
4
by: Alan Wang | last post by:
Hi there: I am just wondering if I could call java library using C#. The reason to do that is my application wants to automate OpenOffice and create document. Thanks in advance Alan
1
by: Sivaraman.S | last post by:
I am unable to create new users using directory services in Windows 2003 server. But it is possible to create users with ASP.NET applications in windows 2000. I am getting "Permission Denied"...
2
by: phenfield | last post by:
I have been given the assignment at my office to create a library for various articles, mostly in .pdf format. Storage is not the problem, but I would like to create a database that would allow me...
1
by: Peter S. | last post by:
There are some files in a Sharepoint document library that I need to access from a C# Webcontrol. The problem is that when the user runs the ASP.NET webpage they will be coming in with a...
0
by: sudhakaranr | last post by:
Hi all, This sudhakar new to this group... I am working in python and i am in need to create a webapplication using zope. Can any one help me to create it... my system...
5
by: Sunny | last post by:
Hi, I want to create a library out of a C++ sources. The implementation should be in object files and there will be a header file which the client will #include. I want to use templates to...
10
by: ankurbahri | last post by:
hi !!! i wanna to know if we can access info. cloumn wise in an excel file using turbo c???? and if yes then how can we delete specific columns with thier data???
4
by: puneetsardana88 | last post by:
Hi I have few functions whose definitions I have put up in mycode.c and whose declarations I have put in mycode.h. I want to create a library for this file and for some others also. I want this works...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.