Welcome to Dream.In.Code
Click Here
Getting C++ Help is Easy!

Join 117,165 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 2,515 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Linker Error in C++

 
Reply to this topicStart new topic

Linker Error in C++, Linker errors

freddyjones39
post 3 Jul, 2008 - 04:01 PM
Post #1


New D.I.C Head

*
Joined: 23 Jun, 2008
Posts: 4

I have just switched from programing on PUtty to visual basics, and I am having a really hard time getting started. I code in C++ (just learning). When I write even a simple program I get a "[Linker Error] Unresolved external '_Form1' referenced from C:\DOCUMENTS AND SETTINGS\DEVON\DESKTOP\PROJECT1.OBJ" and I have no idea what it is!
Please help, thanks for your time!
User is offlineProfile CardPM

Go to the top of the page


anand_the_great
post 3 Jul, 2008 - 05:39 PM
Post #2


New D.I.C Head

*
Joined: 15 Apr, 2008
Posts: 34

Dude you got to start a new program and learn from the start.
Go to www.devdos.com/vb/lesson1.
Thank You.
Anand.
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 4 Jul, 2008 - 06:37 AM
Post #3


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,812



Thanked 27 times

Dream Kudos: 2800

Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions


Could you show us the code that is causing the error?
User is offlineProfile CardPM

Go to the top of the page

freddyjones39
post 4 Jul, 2008 - 03:39 PM
Post #4


New D.I.C Head

*
Joined: 23 Jun, 2008
Posts: 4

QUOTE(born2c0de @ 4 Jul, 2008 - 06:37 AM) *

Could you show us the code that is causing the error?

I get this error for basically any code, I think maybe something screwed up in the downloading process. Here is some code that gave errors, followed by the errors.
Thanks for your time.

CODE

#include<iostream>
using namespace std;
int main()
{
cout<<"What's wrong!"<<endl;
return 0;
}

with these [copied] errors:
[Linker Error] Unresolved external '_Form1' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\BIN\PROJECT2.OBJ
and
[Linker Error] Unresolved external 'TForm1::' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\BIN\PROJECT2.OBJ
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 4 Jul, 2008 - 04:19 PM
Post #5


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,801



Thanked 78 times

Dream Kudos: 8025

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI, Boo.Net

My Contributions


This Forum is for Visual Basic 6 and older questions, I'm moving this to the C/C++ Forum so it can get the proper attention smile.gif
User is online!Profile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 10/6/08 11:17AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month