473,327 Members | 1,997 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,327 software developers and data experts.

Turbo C++ question

4
I'm trying to compile a program in Turbo C++ and i get a [Linker Error], well several.

The exact error is "Unresolved External ... referenced from where ever the file is. The file OBJ file is there and i can't figure out why its giving me the error. If anyone has any idea that'd be great. Thanks
Feb 21 '08 #1
5 1912
Laharl
849 Expert 512MB
Did you remember to #include the file?
Feb 21 '08 #2
Samael
4
Hhmm, just wondering what is the proper way to include an object file in the C++ code?
Feb 22 '08 #3
Samael
4
To be perfectly clear it's telling me theres a linker error for an obj file and a lib file.
Feb 22 '08 #4
Laharl
849 Expert 512MB
For a system library (pre-provided), use #include <filename>. For a file you provide in the same directory, use #include "filename". The <> do not require the .h ending, the "" do. If your definition and implementation are in different files, the linker should connect them and bring both in.
Feb 22 '08 #5
weaknessforcats
9,208 Expert Mod 8TB
This error has nothing to do with a #include.

What it has to do with is that you are calling a function that the linker can't find in any of the files or any of the libariers in the build.

This error is often a mismatch between the function prototype in the included header and the function definition itself.
Feb 23 '08 #6

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

Similar topics

6
by: Developwebsites | last post by:
I am taking advanced C++ at college and we use Borland Turbo C++ 4.5 compiler. How different is Turbo C++ from the standard C++? I know Borland used to call their versions of C++ and Pascal Turbo,...
7
by: git_cs | last post by:
Hey, guys and gals Somedays ago, I had asked for the DES algorithm in C language. Although I have written the algorthim in C myself, I am facing a peculiar problem, which I hope some of u guys and...
1
by: BalaclavaBoB | last post by:
I have to use Turbo C 2.01 to access interrupts for a project I am working on. Is it possible to change the key bindings in Turbo C 2.01 to something more windows user friendly (Ctrl + Z, X, V, C,...
3
by: riku | last post by:
Does any1 know a site where i can download Turbo Pascal for free and is not a trial version. If you do, can u please tell me?
4
by: Hiten | last post by:
hi all, this is my 1st message. i am a beginner in C. can anyone help me out with the following Turbo C problem. i am unable to complile my programs. i.e. instead of compiling my program the...
1
by: anonymous | last post by:
i wrote a graphical program in turbo c 3.0 ,it runs safe on turbo 3.0,(however i'm using xp) so when i wanted to run it for my teacher,both turbo c & program crashed; so i decided to compile it in...
16
by: scott | last post by:
I am looking for a copy of Turbo C 1.5 from 1987 for some historical research I'm doing into computing from that time period.
0
by: anonymous | last post by:
i wrote a graphical program in turbo c 3.0 ,it runs safe on turbo 3.0,(however i'm using xp) so when i wanted to run it for my teacher,both turbo c & program crashed; so i decided to compile it in...
16
by: Gabriel | last post by:
Hi, I'm using Turbo C 2.01 and im stuck with this problem. I've reduced it to the following. My code in Turbo C is this: void f(char *); char h = "hello";
4
by: Abe Kobei | last post by:
Hello. Is there an official website to obtain Turbo C 1.0? I know that I can download Turbo C 2.0 from Borland, but I want a smaller version, because I expect that older is smaller. I want...
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...
1
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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

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.