2,179 Topics

Member Avatar for
Member Avatar for Asif_NSU

I want to take integer inputs separated by spaces and terminated by newline character. suppose the user will be inserting integers this way 123 566 789 45 34 8999 341 57 67 and then the user presses enter. so the program will read all the integers when the user presses …

Member Avatar for Asif_NSU
0
163
Member Avatar for SelArom

Hi I'm Josh and I'm new to these forums, and new to c++. I hope that I can get some great hints and help from the community. thank you in advance! I'm trying to create and use a hashtable class that uses a linked list for separate chaining. I've completed …

Member Avatar for SelArom
0
211
Member Avatar for sweety engineer

hello every body iam very lucky and happy to be here iam very very happy and iam really need this site because iam studying comp. eng. and i have some problems, i hope and i think you will help:) my ques. here is how I write aprogram that read a …

Member Avatar for Dani
0
215
Member Avatar for coolmel55

Need a bit of help formatting my output. I'm not even sure that this can be done. The output from the following code looks like this: Here is your output! ******************** rval = 0.954316 tval = 9.03351 p = 0.999997 Two tailed value = 5.716140e-006 Ok is there anyway I …

0
148
Member Avatar for number1tiancai

A part of my hw is generate a doubly linked list which has the data from an input file ("shopping.in") i am using tokenizer, but however, everytime i try to put the token into the list and print, it gives me a memory place (Dnote@1289321wutever) please help me, this is …

Member Avatar for number1tiancai
1
148
Member Avatar for coolmel55

Here is a link to the actual assignment [url]http://bluehawk.monmouth.edu/~rscherl/Classes/CS503/hw2.pdf[/url]. At this point I am able to build the linked list from a users input string as well as display that list. Here is the code that I have up to this point. I have two classes a Node class and …

0
89
Member Avatar for gwenny

I need help writing a program using a character Queue. I am using the Queue to determine if the two sequences of characters are the same as each other. Also I have to implement my character Queue as a linked list (using Nodes). Can anyone out there help me write …

Member Avatar for Narue
0
146
Member Avatar for sachin kumar

Hi All I' m a new member of Dani Web Community.my problem is with nested linked list implementation.when i insert second node in linked list, it always overwrites the first. my declarations are as follows: struct dataset { int key ; char value[30]; struct dataset *ptrdataset; }*ptrd; struct geometry { …

Member Avatar for ZuK
0
164
Member Avatar for confusedmind

ok, here are the questions. QUESTION NO. 1: I am asked to build a complete binary tree using linked list. According to my knowledge, you are not able to sort the tree with a complete binary tree otherwise it is impossible to get it complete. I searched thru google and …

Member Avatar for confusedmind
0
1K
Member Avatar for smiler

write a programm that define a linked list class , the program use this class to manipulate students data acadmy to the following options: 1- add new student . 2- remove student. 3- list all students data. 4- search for student data using ID . 5- search for student data …

Member Avatar for alc6379
0
95
Member Avatar for ohnbabygal

hi im havin a problem w/ printing a linked list. my program reads two input files and makes two linked lists out of them, and apend the lists and print it out. my input files look like this: 1 2 3 4 5 (input1) 11 22 33 44 (input2) here's …

Member Avatar for Narue
1
196
Member Avatar for raneka17

i'm creating a guestbook in java wherein it gets inputs(name,message) from a user then it will store this as an object. it basically works like a guestbook in webpages only that it will have a delete option. how can i do this? can anyone give me an idea please.

Member Avatar for raneka17
0
171
Member Avatar for Minky

online address book to keep track of names, addresses, phone numbers, and date of births of family, friends and business associates. the program should be able to handle any amount of entries by using linked list and pointers. :rolleyes:

Member Avatar for alc6379
0
84
Member Avatar for wewe

C++ - deals with list Assginment given: Consider a slight variation of the pointer-based implementation of the queue ADT. In this variation, the queue uses a circular linked list to represent the items in the queue. You must use only a single tail pointer. Construct the implementation of such queue …

Member Avatar for alc6379
0
190
Member Avatar for wewe

C ++ reading a textfile into linked list text file: Humpty Dumpty sat on the wall Humpty Dumpty had a great fall all the kings horses and all the kings men could not put Humpty Dumpty back together again --------------------------------------------------- the idea is to read in this sentence into a …

Member Avatar for coolmel55
0
106
Member Avatar for pobrien11

Hi, I am completely lost on a program assignment. We are to use the stl stack adapter class. The elements of the stack are linked lists which represent polynomials. So in essense it is a stack of linked lists/polynomials. Note I'm NOT trying to make the stack itself a linked …

0
88
Member Avatar for paul niten

I WANT OT KNOW HOW TO WRITE APROGRAM WHICH IS GIVEN ONE OR MORE STRING AS COMMAND LINE PARAMETER AND WHICH BUILDS A LINKED LIST HOLDING COPIES OF THOSE STRING (I.E EACH NODE IN THE LIST SHOULD CONTAIN A STRING AND A POINTER TO THE NEXT NODE). tHE ORDER IN …

Member Avatar for FireNet
0
159
Member Avatar for wild_potatos

Hi guys / girls i am new in this forum and i hope you could help me in this problem. i programmed a link list which stores some information one of them is strings and i entered them using the function gets(); instead of scanf(); to enable the program to …

Member Avatar for Dave Sinkula
0
229
Member Avatar for yesuf

Dear members, I am self practicing C++ and I am interested to understand ADTs in C++. It became challenging to understand, but seems very interested. So for my clear understanding, I invite any member to assist me to understand the implementation of linked list using pointers in dynamic memory allocation …

Member Avatar for Chainsaw
0
259
Member Avatar for crazybitez

Hi, I'm trying to write an array of linked lists to disk using c++.I'm running this program on Linux.My data structures are as follows... A Hashtable class which holds the array of linked lists... A linked list class which also has a writetodisk function.. An indexer class which adds entries …

Member Avatar for crazybitez
0
112
Member Avatar for leeegglestone

If in my database tables that will be used to create drop down lists I have a list of 1-13 titles, each one has many subsections e.g 1. DCC (main sections 1/1 gen 1/2 miners 1/3 questionnaires should these then be in separate tables, how best is it to display …

0
83
Member Avatar for paynekiller

I've got a singly linked list, and the following code is supposed to delete all nodes that are ranked as "Trainee", it deletes them all, but if the last node is a "Trainee", it will not delete it, why is that? [code] void LinkedList::removeLowest() { Soldier * ptrDelete; ptrCurrent = …

Member Avatar for Chainsaw
0
134
Member Avatar for andremc

i'm trying to create a chained hash table using a linked list header file, but there's a problem with my insert function. here's the relevant portion. the error comes in the part that is in red. compiler says "parse error before '.' " i've used the linked list header before, …

Member Avatar for Chainsaw
0
157
Member Avatar for NoviceChick

i am supposed to implement a linked list and a rbtree for a spell checker. Some of the info has been given by the lecturer but i am so lost as to where to start! We were not taught java and i dont know how to approach the problem :?: …

0
59
Member Avatar for silicon

Hello all, I have almost completed a program that will take 8 numbers from a user and store it in a linked list. Once that is done It will ask for another entry and determine the location of this new entry and how many items are currently bigger than the …

Member Avatar for Chainsaw
0
392
Member Avatar for InvalidDLL

[code]#include <iostream.h> #include <ctype.h> #include <string.h> #define MAX_NAME_LEN 30 typedef struct Sheet { char Name[MAX_NAME_LEN + 1]; struct Sheet *Next, *Prev; }Sheet; //prototypes void initialise(Sheet *&, char arr[], Sheet *&); void right(Sheet *); void left(Sheet *); void first(Sheet *&); void last(Sheet *&); void erase(Sheet *); void insert(char word[], Sheet *&, …

Member Avatar for meabed
1
113
Member Avatar for onickel
Member Avatar for onickel
1
116
Member Avatar for FireNet

I am currently developing a Snake game with multiplayer support(Not Network based) with unlimited no of players(ok limited by the keys and RAM and processor speed but not restricted). I developed a nice concept of key maps to load all controller information into memory and handle it there.This works just …

Member Avatar for FireNet
0
232
Member Avatar for liliafan

Hi I am needing to store some data for a project I am working on, I am trying to figure out the fastest method to access the stored data, the data takes the form: keyword (std::string) - list of ints ie: yellow - 2342 2312 8478 3827 9773 4837 2893 …

Member Avatar for liliafan
0
269

The End.