659 Topics

Member Avatar for
Member Avatar for younes.keraressi

when i uncoment this line 144; i have error , and i debug and it was good, can anybody help me why i got this kind of error mybe should i declare List<employ>* list2, but it must wrok good like normale way List<employ> list2 #include<iostream> #include<fstream> #include<string> using namespace std; …

Member Avatar for younes.keraressi
0
166
Member Avatar for hmx7

Use a while loop to collect a shopping list of items from the user. Then use a while or for loop to list it back to them. i have: item = int(input('How many items do you have? ')) while item > 0: input('Name of item: ') item -= 1 i …

Member Avatar for hmx7
0
136
Member Avatar for vegaseat
Member Avatar for vegaseat
2
669
Member Avatar for kiail

Hello, I have a list that holds transactions. Currently I'm trying to write it to the console and have each transaction numbered with the transaction amount included beside it. I currently have code that produces something like Transaction #1: $400 Transaction #1: $400 Transaction #2: $599.99 Transaction #2: $599.99 How …

Member Avatar for Momerath
0
144
Member Avatar for Hikki_Passion

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. [CODE] def find_attribute_value(html_tag, att): '''Return the value of attribute att (a str) in the …

Member Avatar for james.lu.75491856
0
1,000
Member Avatar for nikolaos

I want to list all files and directories from a start point using recursion. Here is my code. import java.io.File; import java.io.IOException; public class RecursiveWalk { void recursive (File[] allfiles) throws IOException{ for (File file : allfiles) { if (file.isDirectory()) { System.out.print("directory:"); System.out.println(file.getCanonicalPath()); recursive (file.listFiles()); } else { System.out.print(" file:"); …

Member Avatar for JamesCherrill
0
3K
Member Avatar for ddanbe

Could one be preferred over the other in terms of performance? Both option have to traverse the whole array somehow to find out which string contains an 'a'. Or does it not matter much and is it just a syntax thing. Or are there better ways to do this? All …

Member Avatar for Ketsuekiame
0
284
Member Avatar for entropic3105
Member Avatar for Priti_P

I have a directory called 25 and I want to print the list of files in that directory using PHP. How can I ?

Member Avatar for Priti_P
0
345
Member Avatar for newbie26

hi..please help me to have code that will display list of folders from a given directory in php or javascript. for example i want to display in a page the list of folders in my c:\Program Files\. Thanks in advance.

Member Avatar for newbie26
0
313
Member Avatar for rb1234567
Member Avatar for LastMitch
0
164
Member Avatar for anisha.silva

Hi I create a application in netbeans, and in one web service method it return a List. @WebMethod public List searchByAuthor(String author) { return bookBean.listByAuthor(author); } above is the code. When i right click the web service and click 'Test Web Service' and test the ListByAuthor it gives me an …

Member Avatar for LastMitch
0
214
Member Avatar for perrytje

Hello! I'm trying to code a C# server for flash apps, and I'm currently working on a broadcast function. When flash clients connect to the server they are added to the connClients list (List<TcpClient>), and with the following function I send the stuff to my flash apps: [CODE] public void …

Member Avatar for Ketsuekiame
0
619
Member Avatar for boiishuvo

How do you create a node with fullName and studentID in the "add" method and then put them into the correct positions which the name_first and name_second should move until the name in the name_first is larger than the new_Name and name_second is smaller than the new_Name? public class NodeDemo{ …

Member Avatar for JamesCherrill
0
275
Member Avatar for Pobunjenik

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 …

Member Avatar for Pobunjenik
0
474
Member Avatar for mdfahad

i need SEO Friendly DoFollow forum list. i have 2 forum name. you can share your topic and instant get result. forum are.... http://www.websitemarketingforums.com/ >>> this for website marketing forums http://www.dnsjoint.com/ >>> this for webmaster help http://www.buysaleforum.com/ >>> buy sale forum please share your list here...

Member Avatar for LastMitch
0
356
Member Avatar for rhaylee

I have to do a second assigment on doubly linked lists. Problem description: Create a class to implement a doubly linked list to store student records. Besides the basic operations, the class should include a sorting method that allow the user to sort the records in the list. Programming Requirements: …

Member Avatar for JamesCherrill
0
434
Member Avatar for goatroxley

Hi I'm new to Python and have the following problem. I have a excel file (csv format) that I want to open and display as a 2d list. I can read the file but can not get anyother output other than the colum headings as a single letter [h][e][a][d][i][n][g] I …

Member Avatar for rrashkin
0
359
Member Avatar for nacedo

I have this chunk of jQuery that is doing strange behavior. When I load the page, my list is slided Up (completely folded) wich make sense. But I have to double click each parent to slide them down, which is not the normal behavior. I think this line is the …

Member Avatar for nacedo
0
1K
Member Avatar for nifhail

I REALLY NEED HELP WITH THIS QUSTION AND I ONLY HAVE 48 HOURS TO COMPLETE IT.. I DONT EXPECT ANY OF YOU TO DO IT FOR ME.. BUT I REALLY NEED SOMEONE WHO WOULD TEACH ME.. EMAIL : nifhail_torres@yahoo.co.uk As everyone knows that Malaysia is going to have the 13th …

Member Avatar for NathanOliver
0
709
Member Avatar for joanniecanchola

Hello friends, I am looking for shopping social networks like ThisNext(www.thisnext.com) and Kaboodle(www.kaboodle.com)? Can you please suggest such similar sites which you have been using for listing of your products?

Member Avatar for LastMitch
0
134
Member Avatar for LastMitch

Hi I'm trying figure why I'm getting this error **Undefined offset: 1**. I'm practicing with **list()** function and with a **explode()** function. When I ran the code it kept mention this error: Undefined offset: 1 The line is this: list($bagsize, $candyprice)=explode("#", $_GET["size"]); The list is not an array. It's on …

Member Avatar for LastMitch
0
27K
Member Avatar for ryan311

Can anyone help me. My code is not working this is cascading drop down list. It's connected to my database. Jquery Code: <script type="text/javascript"> $(document).ready(function () { $("#SiteId").change(function () { var idDept = $(this).val(); $.getJSON("Service/GetBuildingNameList", { id: idDept }, function (myData) { var select = $("#BuildingID"); select.empty(); $.each(myData, function (index, …

Member Avatar for LastMitch
0
437
Member Avatar for while(!success)

Hey guys, Does anyone have any ideas or suggestions as to how to create a dynamic form based on a sharepoint list? By this I mean, the user would select a list and a form would be generated with the correct controls/labels based upon the column attributes in the sharepoint …

0
127
Member Avatar for Akusa

I'm trying to make a dictionary program using linked lists. I need four classes, one that holds the word and the meaning. One that creates the node of information and its link field. Another class that creates and maintains a linked list of words and their meanings. And then a …

Member Avatar for JamesCherrill
0
205
Member Avatar for pepyrs

Hey guys, I have a few Lists of strings containing elements saved from a Gridview on the page. (2 different gridviews with datasource from same database and table but showing different information) I need to write a logic which is ~10 if statements checking some conditions and then write a …

Member Avatar for sankit
0
309
Member Avatar for Subomi

Hey, please how can i logically sort for numbers in a list list = [10, 5, 2, 7, 20] without the sort() using only if statements and for loops and no while loop.

Member Avatar for vegaseat
0
289
Member Avatar for fatalaccidents

Hello all, I would like to first state that it this is a question for a homework assignment, so I'm not looking for exact code but rather just help on something that is frustrating me. We have to create our own ADTs for this assignment and not use built in …

Member Avatar for somjit{}
0
882
Member Avatar for xHellghostx

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 1. How to sum values of a list? 2. How to sort values of list from highest to lowest? Also how would I display list …

Member Avatar for ddanbe
0
329
Member Avatar for dirtydit27

Hello, I'm currently working on a homework problem that requires me to create a dictionary from a .txt file that contains some of the worst cars ever made. The file looks something like this: 1958 MGA Twin Cam 1958 Zunndapp Janus 1961 Amphicar 1961 Corvair 1966 Peel Trident 1970 AMC …

Member Avatar for snippsat
0
368

The End.