Member Avatar
... In the program above how does this work? Why is the ... statement after the execution code? I would expect the ... to be before the ... . And if ... contains a value other than the string mark then it looks to me like student behaving like a …
by lewashby 14 in Software Development ()
Member Avatar
Im trying to implement queue with a linked list i think i have the enqueue function correct but im having problems with the dequeue. I can get it to delete the first number but then the rest of the list is empty can someone point me in the right direction? …
by brandon66 in Software Development ()
Member Avatar
Hi all, I'm trying to access a list in a class made in another class and display it in a listbox but its not working. I most probably have to make a small change to be able to get it to work. So please check in the code if you …
by Joemeister in Software Development ()
Member Avatar
Hello below is my code for a program that reads in integers rom keyboard input and creates two polynomials from that input and then does some maths functions on them. I've got the addition working, having trouble with the multiplication though. Any help would be appreciated. thanks
by Bradoz 6 in Software Development ()
Member Avatar
I know that the main difference between an array and a list is that a list size changes dynamically as items are added or removed. Because of this, if we copy an array to a list does that mean that the list must have a static size of the array's …
by iConqueror 27 in Software Development ()
Member Avatar
Both lists and arrays store data in one object(array or list). In C# what is the difference between arrays and lists? Can we store the same type in a list as an array? Can an list store objects and references to other objects? Where would we use a list instead …
by iConqueror 27 in Software Development ()
Member Avatar
I'm working with a LIST that am getting from a soup which after the clean up gives me: lists of variable length ['7.0', '7.5', '6.8', '6.9'] or ['7.0', '7.5'] so my problem is when I try formating the output: code snippet: the output of this is: however what I need …
by sys73r 13 in Software Development ()
Member Avatar
Alright, so I found a tutorial on how to use lists to make a "TreeList" type thing, basically a list, ordered or unordered, that has a nested list that is collapsible. However, it doesn't seem to be working for me. Here's some code that I'm sure you will figure out. …
by Doogledude123 45 in Web Development ()
Member Avatar
suppose that I say I finished position 0 I want the program to print only the task or tasks I didn't finish
by Diego_4 in Software Development ()
Member Avatar
We were given a task to use lists and iterators. We were supposed to make them from scratch. I'm done with that. The problems that I'm having are as following: I'm not able to access the list made of Course datatype which is present in each Student instance. Does this …
by hamzabinamin in Software Development ()
Member Avatar
I'm looking for some help with an issue I am having. I have multiple text files in a folder. The folder can have an "unlimited" amount of text files in it, although typically 2-150 files. (images for this + below) Each file then contains an "unlimited" (although typically 0-20 lines) …
by Tobyjug2222 in Software Development ()
Member Avatar
Hello! I am looking for some help, and have provided the code. I'm just trying to do some simple stuff. I'm trying to create a simple game without using classes (but using lists). What I'm trying to do is create collision detection among list objects ("bullets" and "baddies"), as you'll …
by ben.juarez.773 in Software Development ()
Member Avatar
Do you know if I can change of line in a list of lists? I have tried to concatenate two lists, but the program returns a message, in which it's explained that I have to convert my list into a string format, and I don´t want that. I want something …
by Diego_4 in Software Development ()
Member Avatar
Can anyone help me in this? all my tries are going waste. I thought of doing it using range but getting trouble with even sizes! Please help!
by Vish0203 -6 in Software Development ()
Member Avatar
Hi, Below is the code I am having difficulty making work: When I run the page there are no errors shown, but in the list there's no Login or Logout. I don't know why. I've tried echo instead of return, but the same thing happens. Any help would be greatly …
by WebWebbington in Web Development ()
Member Avatar
Ok, so I am trying to write a code that will find the attributes in a html tag using lists and splitting them up. Unfortunately its giving me a hard time with the added quotation marks. def find_attribute_value(html_tag, att): '''Return the value of attribute att (a str) in the str …
by Hikki_Passion in Software Development ()
Member Avatar
Hello! I've been busy passing exams, but now I'm free to code around again. So, in my usual style! The goal: I've been playing some Battlefield 3 during study breaks, and I've often been pissed off by BF3's autobalance mechanism. It's bad. Horrible. It makes me sad. I usually have …
by Pobunjenik 27 in Software Development ()
Member Avatar
Okay so I have couple of questions about lists in vb.. Please be aware that it's all related to integers only no strings or others How to sum values of a list? How to sort values of list from highest to lowest? Also how would I display list values in …
by xHellghostx in Software Development ()
Member Avatar
I need to write an algorithm for finding the maximum weighted independent set of a graph, G. Any idea of where I should start?
by jborden in Software Development ()
Member Avatar
I've been looking around for an answer to this but have had no luck. I need to take two files and print the top most frequent words they have in common as well as their combined(sum) frequencies. This might be simple but I'm pretty new to programming. Any help? I've …
by otto531 in Software Development ()
Member Avatar
The BTNode class is starter code given to us where we cannot edit. My responsibility is to write code for leaves_and_intervals by following the docstring given. My only problem currently is not knowing how to use extend to properly combine lists recursively. My test block looks like so: And my …
by Alkajak in Software Development ()
Member Avatar
Hello. I'm attempting to create a program in C# that reads lines of text from a text file and stores them in a list. Then I have to compare each line to another equally large (50 lines) text file, and display the differences to the screen? Could anyone help? It …
by AstralPlain in Software Development ()
Member Avatar
hi ! how can i do a one-way-circular linked list function that gives to me** merge 3 lists** such as
by erkanay in Software Development ()
Member Avatar
Hello my fellow Daniwebers! I am having some problems wrapping my head around the task sorting a List(Of CustomType) I have a list containing a custom class. The class contains Two DateTime objects, Start and End. I am trying to sort the list descending so that the shortest timespan will …
by Begginnerdev 256 in Software Development ()
Member Avatar
Hello All!! I have an assignement that I am working on and for some reason I cannot for the life of me recall how to do something so simple lol. The directions are too "Write a function named Exam, which takes one argument n where n>2. Your function creates a …
by Delightfully in Software Development ()
Member Avatar
Write a Python program which will read data for several students from a text file and create a list of lists to store that data. The data must be read from a text file named “Lab11.txt”. Each line in the text file contains the first name, last name, techid, number …
by aaron.jensen.923 in Software Development ()
Member Avatar
is a website for creating lists of links, and contributing new links to existing lists. The directory of lists on , is called the . Currently there are lists of: (like )
by L-Lists in Community Center ()
Member Avatar
The goal of the program is to make a sparse matrix using circularly linked lists. basically its a matix what only has values at the locations entered, and the rest of the lactions are not defined. the question i have is the logic for the code. how would i go …
by jamesmadison43 in Software Development ()
Member Avatar
Hello, I am writing a program that reads in data from a text file and puts it into a linked list. Certain variables are read in only if the "officeHeld" number is a particular number, otherwise the variable is set to 0. When I run this through Visual Studio, I …
by pattilupwned in Software Development ()
Member Avatar
Hi, I need to create a function using recursion to find out if two lists have the same shape. For example, if nest1 = [4, [ [3,6], [] ,7] ,[8] ] nest2 = [ [ [3] ] , 7 , [ [5 , [9 , 2] , [ [ [ …
by compscihelp in Software Development ()