473,796 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't understand the compiler messages

Hi,how are you?
I have been studying C++ by myself, but recently I am having a real
problem. I am learning about the basic usage of a doubly linked list
using polymorphism. However, I have got the compiler errors which I
just can't understand what they mean. I searched the webs for any
clues on how to solve the problems. But I've never been able to find
one.
Now I am wondering if there is any website which tells people how to
understand what those compiler errors mean, and some general tips on
how to solve those compiler errors. If I can at least get to run this
program, I can use a debugger, but at this point, I can't even use a
debugger.
I am beginning to realize the difficulty of learning C++ all by
myself, so I am thinking about taking some online C++ lessons where I
can interactively ask questions on C++ with somebody who is
experienced in C++. Could anybody give me any suggestions?
I did not put the actual source code that I wrote because that is
rather a long code, and I did not know if putting such a thing would
be suitable in this newsgroup. However if anybody would consider
taking a look at my code, and give me any suggestion, I would gladly
put the actual code that is giving me a headache.
Thank you very much, and have a good day.
Jul 22 '05
10 2309

"forgotten field" <tt*******@yaho o.com> wrote in message
news:87******** *************** ***@posting.goo gle.com...
Hi,how are you?
I have been studying C++ by myself, but recently I am having a real
problem. I am learning about the basic usage of a doubly linked list
using polymorphism. However, I have got the compiler errors which I
just can't understand what they mean. I searched the webs for any
clues on how to solve the problems. But I've never been able to find
one.
Now I am wondering if there is any website which tells people how to
understand what those compiler errors mean, and some general tips on
how to solve those compiler errors. If I can at least get to run this
program, I can use a debugger, but at this point, I can't even use a
debugger.


forgotten, that's a very good question IMO. Of course, each compiler is
different, so you have to study the documentation for your specific compiler
for help with the error messages. You should have it, or be able to
download it for free. That should help - a little. In general though,
there are certain problems that always seem to give obscure or confusing
error messages, and a list of common mistakes would probably be a help.
Unfortunately I'm not aware of any.

The most important thing I can suggest to you is to make small, incremental
changes. You start with

int main()
{
return 0;
}

Try to get that to compile, and then go from there. Don't make many changes
at once - just one at a time. If you make several, then go back to the last
working version and make one change and check the error. At that point, you
probably ought to be able to narrow down the problem with a very small
program that you can create and post here. Finally, don't confuse linker
messages with compiler messages! You might be having troubles with code
split across source files.

Jul 22 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1105
by: Patrick Coleman | last post by:
Hi, This may seem to be a basic question, but I keep getting the following error: main.cc:93: undefined reference to `AT_UrlParser::AT_UrlParser(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)' line 93: AT_UrlParser qservice(service); I'm including a custom header file that defines AT_UrlParser.
2
1918
by: Jon Maz | last post by:
Hi All, To allow myself to make development changes directly on a remote server *without* having to compile on my local dev machine and then upload the dll's to remote, I have created a RunBatch.aspx on the remote which calls a batch file (myBuild.bat) on the same machine, and this batch file executes the necessary command-line compiler instructions to recompile (code below). So far (fingers crossed) it seems to be working. The only...
1
257
by: forgotten field | last post by:
Hi,how are you? I have been studying C++ by myself, but recently I am having a real problem. I am learning about the basic usage of a doubly linked list using polymorphism. However, I have got the compiler errors which I just can't understand what they mean. I searched the webs for any clues on how to solve the problems. But I've never been able to find one. Now I am wondering if there is any website which tells people how to understand...
102
5722
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler can't tell where a bracket is missing.... a few weeks have past, I requested a feature for the delphi ide/editor "automatic identation of code in begin/end statements etc" and today when I woke up I suddenly released a very simple solution for this...
16
2855
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...) Oh, I forgot to list the error messages; I would be delighted if someone could explain how to deduce which line number in which file is the one that the VC compiler cannot handle. Actually I'm using C#, but the only post I could find about...
4
1107
by: Jerry Camel | last post by:
Any insight here is greatly appreciated... (Eveything is in VB .NET) Here's the baisc app flow: ------------------------------------- Launch wrapper.exe: wrapper.exe registers for the SessionEnding system event wrapper.exe stores a pointer to its thread in MainThread wrapper.exe declares, withevents, a process variable: np wrapper.exe does some basic maintenance wrapper.exe populates np with process info and sets
7
13082
by: aaragon | last post by:
Hi everyone, I have a simple question. I'm trying to make a macro in one file so I can use it in main.cpp. The idea is that I the user of my code has simple to type the macro definition to replace a more complicated code. Something like the following: // file.h #define OBJECTIVE template <class T\ void operator()(T& chrom_,double* fitness_); // file main.cpp
18
2963
by: andreas.luethi | last post by:
Hi All Compile a our source with BM XL C/C++ Enterprise Edition V8.0 for AIX (Version: 08.00.0000.0000) produces a lot of Informational message like this: "aaalib.c", line 671.1: 1506-412 (I) Referenced variable "n", which was not initialized in its declaration. n is a variable in procedure an is assigned before used. Compiling the
6
2273
by: David Mathog | last post by:
Do any of you happen to have links to compendiums (or heaven forbid, an actual manual) which maps compiler warnings and errors to examples of actual code problems? In this case I'm specifically looking for one for gcc. The general problem is of course that the compiler messages must be short, and that tends to make them so cryptic that it isn't always immediately obvious what the problem is. It almost makes me long for the days when the...
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9525
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10221
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10169
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.