659 Topics

Member Avatar for
Member Avatar for TrustyTony

I did code for challenge that I saw posted for C# by deceptikon: http://www.daniweb.com/software-development/csharp/threads/479304/coding-challenge-string-to-date Here it is. Of course normally the code would be without prints and put in function, but this is enough for now for me. There could also be normalization from '/' separated form not producing ambiguous …

1
267
Member Avatar for chemengr05

I'm trying to create a simple code that would transform standard sentences into interrogative sentences. I’m not sure how easy or hard it is to create such a code and was wondering if such code or a similar code already exists. The code I'm looking for would do this: EX: …

Member Avatar for Mya:)
0
213
Member Avatar for SaroGFX

Dear Daniweb, I just got the following [HTML5 music player](http://www.audioplayerhtml5.com/player_blackControllers_WithoutPlaylist_Ex1.html), which gets it's music from a list I provide in HTML like this: <ul> <li class="xtitle">Follow Me Here B</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/adg3com_freeform.mp3</li> <li class="xsources_ogg">audio/adg3com_freeform.ogg</li> </ul> <ul> <li class="xtitle">This is Freeform C</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/wm_follow_me.mp3</li> <li class="xsources_ogg">audio/wm_follow_me.ogg</li> …

0
314
Member Avatar for Doogledude123

I know with Lists you can instantiate them to an ArrayList, but is this generally a good idea? Is it better to do 'List<?> list = new ArrayList<?>();' rather then 'ArrayList<?> aList = new ArrayList<?>();'?

Member Avatar for JamesCherrill
0
178
Member Avatar for komal.sharif.5

I am new to php. I want to insert the value selected from dropdown list in mysql database. i have two tables named tbl_user and tbl_domain. how may i storea value in tbl_domain selected from dropdown list. can any1 help me pls? here is ma code. pls tell me whats …

Member Avatar for nadiam
0
364
Member Avatar for Saba _1

Hey guyz, I've done with some coding, actually I've to submit it in the project form, what the question arises is that I dnt know where and what's the mistake in the coding. please help me out. but it's necesaary to do traversing through linklist. My topic is 'Departmental store', …

Member Avatar for richieking
-1
206
Member Avatar for lazylibran82
Member Avatar for nadiam

Dear All, im testing out a way to get data from database depending on the drop down selection and displaying the data into a table by using php. now my first issue which is really really frustrating me because i've done this dozens of time is that i get `Notice: …

Member Avatar for nadiam
0
7K
Member Avatar for Doogledude123

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. …

0
187
Member Avatar for nadiam

hey guys. so whats really getting me stumped is the amount of salutations theres are and as some of you are web developers i would just like your opinions/suggestions. so you have a basic form that asks for salutations, first name, last name etc. salutations there are lots and sometimes …

Member Avatar for almostbob
0
265
Member Avatar for Diego_4

# I want to eliminate a list from a bigger list, only by typing something # tasks = [] task = [task1,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]# this is a list that is filed into another list named tasks# # If I type a position, I want to eliminate a complete …

Member Avatar for TrustyTony
0
171
Member Avatar for michelle.trinsky

I'm trying to create a sorted linked list without using Collections. I don't want to use Collections since I'd like to learn how to work with Linked List manually. I'm getting NullPointer exception when I'm comparing strings and comparison <0. Any suggestions and help are appreciated. This is the part …

Member Avatar for stultuske
0
1K
Member Avatar for begueradj

Howdy, I am looking to download a list of malicious JS code in order to test it on my localhost website I am developing. Is there any place to download such a list ? Thank you in advance for your answer. Begueradj

Member Avatar for iamthwee
0
283
Member Avatar for ray100

I can't figure out what's wrong with this. The program works, but the deduplication doesn't work. The error I get is : Notice: Undefined variable: SongToAdd in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Notice: Undefined variable: ExistingSongs in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Warning: in_array() expects parameter 2 to …

Member Avatar for SilverKenn
0
472
Member Avatar for can-mohan

Hi, While executing below code i am getting error like "memory clobbered before allocated block" and due to this assignment is not happening. could you let me know what can be reason for the same. I do understand it is not good to use raw pointer but in current scenario …

Member Avatar for can-mohan
0
443
Member Avatar for hamzabinamin

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: 1. I'm not able to access the list made of Course datatype which is present in each Student instance. Does …

Member Avatar for StuXYZ
0
208
Member Avatar for Tobyjug2222

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. http://gyazo.com/5f314d1ca374abf9f813914609dd931d (images for this + below) Each file then contains an "unlimited" (although typically 0-20 …

Member Avatar for Tobyjug2222
0
353
Member Avatar for Hector_2

I can't get the code to display in an ordered list. // Chapter 5 - Homework Assignment #include <iostream> #include <cstdlib> using namespace std; // // DECLARE FUNCTION HEADER FOR // CLASS ListNode class ListNode { public: ListNode(double v, ListNode *p) { value = v; next = p; } private: …

Member Avatar for Hector_2
0
191
Member Avatar for Diego_4

position = 0 tasks = [] task = [task1,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]# this is a list that is filed into another list# while k < CantTareas : ans = raw_input ("did you finish any of your tasks? (yes or no) ") if ans == "yes": k = k + …

Member Avatar for snippsat
0
228
Member Avatar for Complete_1

I can't work around these errors. Can someone help me out? Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Error 3 error C2238: unexpected token(s) preceding ';' Error 1 error C2143: syntax error : missing ';' before '<' Code: #pragma once #ifndef …

Member Avatar for Ancient Dragon
0
634
Member Avatar for knan

I have a dictionary [CODE]dict1={'18':['4000','1234'],'12':['7000','4821','187','1860','123','9000']}[/CODE] I want to sort the keys and values such that, the output is, [CODE]dict1={'12':['123','187','1860','4821','7000','9000'],'18':['1234','4000']}[/CODE] I tried something! but it didn work [CODE]>>> for values in dict1: ... dict1[values].sort() ... >>> dict1 {'18': ['1234', '4000'], '12': ['123', '1860', '187', '4821', '7000', '9000']}[/CODE] Full sorting happens for …

Member Avatar for grantjenks
0
806
Member Avatar for Diego_4

Do you know if I can change of line in a list of lists? tareas = [] > otraTarea = [tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando] `+'\n'+ []`(this is what i have tried) #I have tried to concatenate two lists, but the program returns a message, in which it's explained that …

Member Avatar for TrustyTony
0
318
Member Avatar for ZJRG.1997

I'm quite new to python and am trying to make a kind of 20Q thing, but am struggling - anybody know how to delete a list from a set, or if not a list from a list? Thanks :)

Member Avatar for Gribouillis
0
386
Member Avatar for Sumith Asanka

Hi Guys I have asp.net application there i have a dropdownlist , even if i select any item from that list when going to debug mode i always get the first list item number and index but interface shows the selected item on it , what is the reason for …

Member Avatar for wasimmalik
0
206
Member Avatar for christopherbe11

I have this code:: name_list=[] name1=print(input("what is your name: ")) name_list.append(name1) print(name_list) it returns Jon [NONE] If i input a name jon. Why does it not append to list please?

Member Avatar for christopherbe11
0
155
Member Avatar for man.chester.581

1- implement a double linked list (node contains data and left pointer to the previous node and right pointer to the next node)

Member Avatar for rubberman
0
169
Member Avatar for diafol

Having subscribed to the mailing list, I got barraged with hundreds (it seemed like) emails every day. Is there any way to cut down on these? It took me over half an hour to delete them all! My mail provider warned me that my account was "dangerously" full. ;)

Member Avatar for Dani
0
244
Member Avatar for joshl_1995

Hello Community, I would like to know if there is a way to get the corresponding list index of another list like below: Dim panelTitle As New List(Of String) panelTitle.Add("First Panel") panelTitle.Add("Second Panel") panelTitle.Add("Third Panel") Dim panelName As New List(Of Panel) panelName.Add(Panel1) panelName.Add(Panel2) panelName.Add(Panel3) So when I choose "Second Panel" …

Member Avatar for joshl_1995
0
255
Member Avatar for eldiablo1121

Hello, I have to write a program that will solve polynomials by user input, my program compiles, but gets an exception error. Here is my code: import java.io.*; import java.util.Scanner; import java.util.LinkedList; public class PolynomialList { private Node first = new Node(0, 0); private Node last = first; private static …

Member Avatar for JamesCherrill
0
1K
Member Avatar for grafic.web

HI, ho can i do a select list from my table with MVC? Example database = mydatabase table = styles ID NOM show my select <selct name=aaaaa> <option value=ID>NOM</option> Thanks

0
99

The End.