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

problems with list link..

32
i have wrote a program which consist of three parts. list.cpp, list.h. and company.cpp

i tried to figre it out but i couldn't. the problem is i can not input into the file, i gives me white message.. which is logical errors, i couldn't figure it out... anybody there can help...


please help


this is assignment.cpp

Full code removed per posting guidelines
Aug 29 '08 #1
12 1433
weaknessforcats
9,208 Expert Mod 8TB
Please supply code that will compile and link. I can help you then.
Aug 29 '08 #2
samimmu
32
Please supply code that will compile and link. I can help you then.

actually the code is all there.. the main program and the list.h and the assignment...


i wish u can copy and paste the whole programs and make them in one project because i am using Dev++...


thanks

anybody there can help...


why people here don't help...

why....
Aug 30 '08 #3
Airslash
221 100+
Can you actually put each seperate header and cpp file that you wrote between CODE tags, because your code is unreadable at the moment
Aug 30 '08 #4
samimmu
32
Can you actually put each seperate header and cpp file that you wrote between CODE tags, because your code is unreadable at the moment

actually the companyt.ccp is the first one

i will make them bold is it okey? please look at it clearly

thank for your response.. i really really appreciate it

Bold means each file and header cpp

Full code removed per posting guidelines
Aug 30 '08 #5
Laharl
849 Expert 512MB
When writing code on these forums, please surround it with [code] tags. It makes your code far more readable for everyone. You're a Member now, you're expected to know this.
Aug 30 '08 #6
samimmu
32
When writing code on these forums, please surround it with [code] tags. It makes your code far more readable for everyone. You're a Member now, you're expected to know this.

i know.. but not really familiar with it.. i tried the last time but it looked messy..


thank you anyways for reminding me...


Can you try to help with that..


i will really appreciate your help if you can help..
Aug 30 '08 #7
Airslash
221 100+
I think you're just using your files wrong...

List.h : define your List class in here,
List.cpp : give meaning to your functions: add the code for the methods
Company.cpp : put here your main.cpp and functions to run the program


because it looks like you're mixing up stuff in your files.
Aug 30 '08 #8
samimmu
32
I think you're just using your files wrong...

List.h : define your List class in here,
List.cpp : give meaning to your functions: add the code for the methods
Company.cpp : put here your main.cpp and functions to run the program


because it looks like you're mixing up stuff in your files.

that what i did but when i try to input to the file, i coudn't input to the file, it give white message?


can u try to compile it and tell me the error please

i really need your help urgently

thank you very much


Sami Alkindi
Aug 30 '08 #9
weaknessforcats
9,208 Expert Mod 8TB
So how is this compiling?
Expand|Select|Wrap|Line Numbers
  1.  
  2. Node=&head; // it point to the head of the list or to the begining of the list;
  3. // empolyee_count=108;
  4. do
  5. {
  6. //h
  7.  
Node is a node* and head is a node* That makes &head a node**. You can't assign a node** to a node*.

What gives here?
Aug 30 '08 #10
samimmu
32
So how is this compiling?
Expand|Select|Wrap|Line Numbers
  1.  
  2. Node=&head; // it point to the head of the list or to the begining of the list;
  3. // empolyee_count=108;
  4. do
  5. {
  6. //h
  7.  
Node is a node* and head is a node* That makes &head a node**. You can't assign a node** to a node*.

What gives here?

then tell me please how to figure it out...

i tried to make it

Node=head->next; it also the same

please help me
Aug 30 '08 #11
samimmu
32
hello.. anybody can do a little help...



any ?
Aug 31 '08 #12
newb16
687 512MB
Node=head->next; it also the same
What is the same? Compiler error? Wrong program behavior? Did you try do debug it?
did you try no isolate the pro.. oh well never mind
Aug 31 '08 #13

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

Similar topics

6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
0
by: Robert Brewer | last post by:
Hello, I realize I'm a bit over my head, here, but I'm trying to pull waypoint data from a Garmin eTrex Legend, and having mixed success. On a Win98 box last night, I was able to connect and...
2
by: Eric Lindsay | last post by:
I have been trying to do a CSS liquid layout imitating a frame, using position: fixed for header, footer, and side navigation, and a fixed background image. Page is valid HTML 4.01 Strict, and is...
7
by: Brian | last post by:
First off, I am sorry for cluttering this group with my inept questions, but I am stuck again despite a few hours of hair pulling. I have a function (below) that takes a list of html pages that...
2
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.