2,180 Topics

Member Avatar for
Member Avatar for stephen_UK

Ideally I would like to take a value entered from an Option List and use it in a linked program before the form is submitted, The value would be used in a select search so that the operator then knows what to format of data to enter in the next …

Member Avatar for stephen_UK
0
197
Member Avatar for queendaedra

Hello Everyone, I need help with the CSS of a theme I have for Wordpress. All I want to do is move the nav bar over to the left to line up with my logo on my site, bu I dont want to ruin the mobile version of the layout. …

Member Avatar for queendaedra
0
312
Member Avatar for Erwin_Rosyid

So I code a program that could store data inside a list of object. I linked it with each combobox so I could input the values inside the list correctly. But there are several bugs that disturbs me. Could I get hint of what to fix and what to modify? …

Member Avatar for Erwin_Rosyid
0
331
Member Avatar for london-G

Hello, I have two linked tables in my database (access), one is for the student and one is the ages(selection drop list ). When I have transfered the data in vb form, a simple text box is shown with numbers in it. How can I have the drop down list …

Member Avatar for Mitja Bonca
0
139
Member Avatar for BryantFury

Hi ive made a code where a user makes a list and then displays it. he may also delete objects one by one. suppose i wished to clear all in one go. How would i go about doing this? thank you in advance. my code is below. all works except …

Member Avatar for BryantFury
0
123
Member Avatar for tweeeter

I need to modify the following program to store person objects instead of integers. Include a function to input person data from the keyboard in the person class (similar to the readRecord() function). Also add a non class function to display the list contents. Include a separate search function (search …

Member Avatar for Ancient Dragon
0
164
Member Avatar for mbarandao

I have a form with a select box which is dynamically populated from db. Based on the selection, additional data populates other linked boxes (an input and a textarea). The general idea: the list box has a list of products; once a product is selected, three other input boxes are …

Member Avatar for mbarandao
0
80
Member Avatar for geneh23

Hey everyone, I haven't been on here in a while and I have probably a stupid error somewhere but anyway, I have three files: one is a php(header) file and the other is a css file linked into the index page. I think I've coded the php and I'm pretty …

Member Avatar for geneh23
0
139
Member Avatar for Interista

Hi im creating a linked list with these data types etc string firstname string surname int age would anyone give a simple instruction to put these in a new node as i have tried everything but still doesnt work so far i have done this nodeType *first,*newNode, *last; cout<<"Name: "; …

Member Avatar for corby
0
2K
Member Avatar for jade_91

So basically I have created a linked list which allows me to enter numerical data into a list and for it to be sorted, added to and deleted but I need to add text into the list as well but not sure how to go about it I've tried changing …

Member Avatar for Zaad
0
429
Member Avatar for Vish0203

Hi everyone, I'm facing problem in deleting a node in **del()** used in my program. Suppose, i've added a city as **Delhi**, and at the time of deleting, i type the name as **delhi**, the compiler gives a processor fault. But, i want it to display the line number **95**. …

Member Avatar for Sokurenko
0
288
Member Avatar for hg_fs2002

I am using such linked list: private Class Node { public int Num1; public int Num2; } LinkedList<Node> list = new LnkedList<Node>(); Node n = new Node(); n.Num1 = 10; n.Num2 = 100; list.Add(n); but now I don't know how to access Num1 and Num2 using my LinkedList. For example, …

Member Avatar for corby
0
131
Member Avatar for BryantFury

Hi ive made a code does the following: 1. user makes a list of items 2. user adds more items to the list 3. list is displayed it uses Linked-Lists. here is the code #include <iostream> using namespace std; struct vote { char product[10]; vote *votePtr; }; void addNodes(vote *&startPtr,vote …

Member Avatar for BryantFury
0
252
Member Avatar for BryantFury

hi im currently learning about linked list. Ive created a code which is supposed to let you type some numbers, then display them. i did this mostly by using information on the internet(code examples) and such. Hence there are obvious mistakes a bits i do not understand. Here is my …

Member Avatar for BryantFury
0
171
Member Avatar for ghawanmeh

please help me i need to create a hash table using a multiplication method and i need to create an array of linked list **so how i can to create array of linkedlist in vb or c# ????**

Member Avatar for kvprajapati
0
103
Member Avatar for ftrzjocelyn

Hi, I'm a new java user, working on a brute-force knights tour algorithm in linkedlist. The move function worked perfectly (for a while), I mean, the pointer could move forward, or backward if a wrong path was chosen. But all of a sudden, it returned me a stackoverflow error. i'm …

Member Avatar for JamesCherrill
0
571
Member Avatar for gigglygeckoq

I am new to programming, I am trying to learn how to program in Java through some old programs I found online, and yet I seem to be struggling. This is the program I wrote to fill a linked list with 10 numbers using a loop and then just printing …

Member Avatar for JamesCherrill
0
112
Member Avatar for Torf
Member Avatar for JamesCherrill
0
128
Member Avatar for Torf

I have been trying to teach this myself, but I judt don't get it. I have 10 books with ISBN number, title, name of author. The linked list should display the books sorted by ISBN. I hope this collections.sort is correct: import java.util*; public class Sort { public class Sort …

Member Avatar for Torf
0
230
Member Avatar for cecsFTL

For the assignment we're suppose to add a findFirst, findNext, and addElement method to the given class and test them. I manage to get the findNext and addElement working but not the findFirst. Here's what the findFirst suppose to do "Method findFirst(T item) searches for and returns the index of …

Member Avatar for NormR1
0
137
Member Avatar for jimjones371

Need help from daniweb community. I suck at programming. It doesn't make sense to me. I'm not going to be programming in my career but it's part of my major. I'm desperately trying to get an c- just to pass. Would love some help. I would appreciate some explanation but …

Member Avatar for gusano79
0
286
Member Avatar for chinee

i am doing a project with a group i have to deal with orders by kind then linked to the driver who will be taking the first customer. the driver can be free or back in 10 min. i have started with the order list with the customer, i have …

Member Avatar for NormR1
0
791
Member Avatar for whtewa

The hash table stores phone numbers and names, uses the names as the keys. The problem I have is when I use the terminal window to enter the names and numbers. The strange problem that occurs then is that all the names get the same phone number. But when i …

Member Avatar for WaltP
0
214
Member Avatar for sonicx2218

import java.util.*; import java.io.IOException; import java.util.Scanner; import java.util.Random; public class LinkedListProgram { public static void main(String[] args) throws IOException { int i,number, ran; Scanner sc = new Scanner(System.in); LinkedList<Integer> list = new LinkedList<Integer>(); ListIterator li; String line; Random random = new Random(); int pick = random.nextInt(150); System.out.println("Enter # of nodes"); …

Member Avatar for sonicx2218
0
3K
Member Avatar for sonicx2218

So my java class is a joke, and we're expected to learn how to do our assignments via the web...I'm a hard worker, but I'm just not good at this. [Assignment pic](http://oi50.tinypic.com/aw3zx2.jpg) There's the assignment image. I think i got how to do the first part with the adding random …

Member Avatar for sonicx2218
0
550
Member Avatar for Stjerne

Hello, So I got the following classes: Book BookRegister GUI Main Book contains basic information about what kind of book you want to register. BookRegister contains the linked list for registration. In the GUI, I'm using JList. The thing is, I want to put all my books I register into …

Member Avatar for NormR1
0
309
Member Avatar for sonicx2218

Hey bros. I made a program that prints out random numbers in a linked list. I want to have the index number next to each of the random numbers in the list. I guess for example like: 1 25 2 123 3 56 ect. Here's m program so far, and …

Member Avatar for NormR1
0
334
Member Avatar for sonicx2218

hello everyone. I can't figure out how to create a random int that gets placed into a linked list. import java.util.*; import java.io.IOException; import java.util.Scanner; import java.util.Random; public class LinkedListProgram { public static void main(String[] args) throws IOException { int i,number, ran; Scanner sc = new Scanner(System.in); LinkedList<String> list = …

Member Avatar for sonicx2218
0
2K
Member Avatar for sonicx2218

Hey everyone. As always I'm sorry for my noobness when it comes to java, but I got a question I can't seem to find answered anywhere else on the web. I'm trying to make a simple program that takes whatever number the user types in, and makes a linked linked …

Member Avatar for sonicx2218
0
124
Member Avatar for hwoarang69

trying to build linked list that sort it selft. but this code below doesnt work. this part of code should insert a node in order. for ex. if i have a linked list of age 1 3 4 5. and if i insert(3) than result should be 1 2 3 …

Member Avatar for gusano79
0
94
Member Avatar for alaa sam

hi everyone I'm working currently with linked list , and there's a problem with my code , the link is writing the same place every time (it replaces the previous values with the new ones without inserting a new one ) can anyone help ? Thanks in advance #include<stdio.h> #include<unistd.h> …

Member Avatar for Ancient Dragon
0
127
Member Avatar for capton

Please i'm having problems sorting nodes in a linked list but i can sort the data members and i want to know if sorting the nodes themselves in the list is necessary at all. In other words are there instances where nodes are specifically needed to be sorted. Also, why …

Member Avatar for deceptikon
0
85
Member Avatar for Nathaniel10

I have searched for and read through over 50 examples of linked lists. I can barely make heads or tails out of them. Some are in C, some are in Java, some use templates, most only discuss theory and display flowcharts but have few explained examples. I need serious help! …

Member Avatar for Nathaniel10
0
299
Member Avatar for Griff0527

I have pretty much failed my class (4 weeks behind in an 8 week class that is currenlty at the beginning of week 8), but I am wanting to learn C++ for myself anyhow. I have visited http://www.cplusplus.com/doc/tutorial/ and gone through the tutorial, but cannot understand this assignment. I have …

Member Avatar for Lerner
0
2K
Member Avatar for hwoarang69

*i am trying to copy the value of ar2[10] //in main. has the value 1,2,3,4,5 in ar[10] //(in struct node). empty array so to copy the value iam not sure if i could use a strcpy for ex, strcpy(head->ar, ar2); //here is my code struct node { int ar[10]; //empty …

Member Avatar for hwoarang69
0
148
Member Avatar for hwoarang69

iam trying to store all the data in to a struct so i can change it later. //this data is in file abc 1 11 22 def 2 33 ghi 0 22 11 33 asd 2 i was planing on making a array of structs. so 1st line will have …

Member Avatar for hwoarang69
0
226
Member Avatar for SillyNoob

I'm at an absolute complete loss with this. I'm a using a pointer-pointer to "remember" the last node of a linked list so a function in the loop can add another node and then return the address of that new node so it's known for the next loop. Sounds easy, …

Member Avatar for SillyNoob
0
93
Member Avatar for jhamill

okay, i am trying to implement a program that cycles through a circularlly linked list to find different strings "assassins" and then eliminate the next person in the list. I believe that most of my code is correct with the exception of how I set up my linked list as …

Member Avatar for jhamill
0
267
Member Avatar for Alicito

Hello, I just need some help with linkedlists in C#, linked-list in C++ is kinda easy with pointers but im facing some problems in C# I read the examples provided on http://msdn.microsoft.com but I couldn't figure out how to link two different linked lists the efficitent way seems to be …

Member Avatar for Momerath
0
261
Member Avatar for SillyNoob

**IDE: **MS Visual Studio 2008 Professional **Compiler:** Unknown First off let me thank any of you who take the time to read this and reply back. I'm having a ridiculous amount of trouble returning a pointer from a function and then using that returned pointer to change the pointer-pointer in …

Member Avatar for SillyNoob
0
234
Member Avatar for hwoarang69

trying to create a insert method thats takes a char *name and int age. after than iam trying to insert in linked list. its seem to be working fine but if i have a linked lets say [1 2 3 4 5] and if i try to insert(2). i shoudl …

Member Avatar for zeroliken
0
180
Member Avatar for pendo826

There's something wrong with the curly brace's can anyone see where please. //****************************************************************************************** //Header file for LinkedList.cpp. //****************************************************************************************** #ifndef LINKEDLIST_H #define LINKEDLIST_H //****************************************************************************************** //Declaring templates for classes. //****************************************************************************************** template<class Datatype> class LinkedListNode; template<class Datatype> class LinkedList; template<class Datatype> class LinkedListIterator; //****************************************************************************************** //Class: LinkedListNode. //Description: This is a class for the …

Member Avatar for TrustyTony
0
400
Member Avatar for pendo826

Hey i keep gettin syntax errors with my header file can someone please help me. //****************************************************************************************** //Header file for LinkedList.cpp. //****************************************************************************************** #ifndef LINKEDLIST_H #define LINKEDLIST_H //****************************************************************************************** //Declaring templates for classes. //****************************************************************************************** template<class Datatype> class LinkedListNode; template<class Datatype> class LinkedList; template<class Datatype> class LinkedListIterator; //****************************************************************************************** //Class: LinkedListNode. //Description: This is a …

Member Avatar for majorawsome
0
411
Member Avatar for samytaqq

Let us suppose that we have 3 books (see table below), each of which contains a number of chapters and every chapter contains a number of sections. For example the book Data Structure contains 3 chapters (Queues and Stacks, Linked‐Lists, Sorting) and the chapter Queues and Stacks contains 2 sections …

Member Avatar for thines01
0
196
Member Avatar for blivori

I have a GUI in which has a container for a JTable called 'listTable'. I want to populate the JTable with data stored in a linked list, using the AbstractTableModel. Basically, I have a LinkedList stored in Processing.java. It contains all the data retrieved from a text file. I created …

Member Avatar for ejosiah
0
1K
Member Avatar for pce369

I am having trouble figuring out how to get a user inputted value into a structure I've created to make a linked list of stacks. The structure and pointer info before main() are: struct inforec { int item; }; struct node; typedef node *PT_NODE; struct node { inforec info; PT_NODE …

Member Avatar for pce369
0
123
Member Avatar for Ahmed2

Hi guys, I'm trying to read data from an excel "csv" file and save it in a list. the problem is that I want to have a copy of this list named "list1" that will not change during the manipulations and claculations, because when I copied the contents of "list1" …

Member Avatar for mike_2000_17
0
232
Member Avatar for Eagles36

I have the program working up to the point where at the end of every test it fails and get. where do I need to look to start fixing the failed tests.(files are attached at the bottom) This is my output: START OF TEST 1: Testing insert, attach, and the …

Member Avatar for uzairrahim
-1
2K
Member Avatar for ogrishmania

I want to delete the first element from a list. this is my list: struct dlist { int liber; //it translates as "free" don't know what this is int nmax; //maximum number of elements DATA *pv; //a pointer with which i can move in list, also DATA is int }; …

Member Avatar for Ancient Dragon
0
135
Member Avatar for jnewman3

So I've been working on a Hash Table that uses nodes to store data. I'm having issues figuring out the copy constructor and assignment operator overloader. In my main I instantiate 3 hash tables. 1 default(size 10), 1 size 7 and another one that copies hashtable size 7 to it. …

Member Avatar for raptr_dflo
0
345

The End.