659 Topics
|
|
Dear Dudes! =) If anybody has a complete list of php methods separate in a file, please share it with me! I really need a txt file containing all of the PHP methods. It goes for my diploma work also... =) Ex: [CODE] for(){} //new line if(){} //new line switch(){} … |
|
hello! i've just tried out lists in c++, but they're giving me some kind of problem. it has something to do with iterators but i'm pretty sure i'm using them the right way. anyway, here is the code: [CODE] #include <list> #include <iostream> int main(int argc, char* argv[]) { std::list<int* … |
|
Hey, i am new to python. I am making a translator in python 2.6 using basic commands. The translator is english to german. I need to use a i need to use a text file like this... at an brown braun cat raze etc. so far i have created lists … |
|
Hello, I'm working on a project that involves making two dlls: one of them is in Borland C++ (file1-bc.dll), the other one is in Visual C++ (file2-vc.dll). Right now I'm prototyping and trying to make them as simple as possible and to see data being exchanged from one side to … |
|
Hello I am working on a project for my roommate that involves reading in a text file that has x's and o's. The x's mean a wall and the o's mean an open path. The maze begins at 0,0 and ends at 15, 15. This makes the graph 15x15. I … |
|
Hi all, I'm working on a Hanjie solver and this is part of the code. Everything else seems okay but I always get an error when I run it. Eclipse (i'm using Galileo version) points the exception to be at: [CODE] char a = combo1.get(i).charAt(i);[/CODE] combo1 ...refers to a List<String> … |
|
Hi Everyone, I am searching the most effective way of sorting a list of objects. Say i have a bean [CODE]public class MyClass { private string name; private string id; // Getters and setters } [/CODE] Now say we put some values in a List [CODE]List<MyClass> myClassList = new ArrayList<MyClass>(); … |
|
Hi all! So our T.A. gave us a function to use in our programming assignment as follows: [code=php] struct node *delete_from_list(struct node *list, int examnum) { struct node *cur, *prev; for (cur = list, prev = NULL; cur != NULL && cur->examNumber != examnum; prev = cur, cur =cur ->next) … |
|
Greetings, I just want to know how to split a string using values of dictionary: dic = {'': '000', ' ': '011', 'e': '1111', 'g': '10', 'h': '010', 'o': '00', 'p': '1101', 's': '1110', 'r': '1100'} word = '1000011100001110001101010111111001110000' for items in dic.values(): [INDENT]word.split(items)[/INDENT] .... and when i do this … |
|
|
Hi, My program keeps coming up with an Access Violation after I moved the code manipulating my linked list from the main function to a sub function. Looking at it with the debugger, I found that the sub function destructs the linked list, and then the main function attempts to … |
This is the program i'm trying to develop. It's not an assignment or anything. I'm just a newbie trying out new stuff. But I'm getting frustrated with this. [CODE]#include <iostream> using namespace std; //========== struct ========== struct nodeType { string song; int rating; nodeType *link; }; //------------------------------------------------------------------------------ //========== function ========== … |
|
Hello, I want to make a linked list program consisting of one main link, and each main links have sub link. [CODE]Main 1 -> Main 2 -> Main 3 -> ... -> Main N -> NULL | | | | Sub 1-1 Sub 2-1 ... ... | | Sub 1-2 … |
|
struct Employee { /* Employee details */ char name[MAX_NAME_LENGTH+1]; /* name string */ char sex; /* sex identifier, either 'M' or 'F' */ int age; /* age */ char job[MAX_JOB_LENGTH+1]; /* job string */ struct Employee *prev, *next; }; static void menu_add_employee(void) { static struct Employee *employee_list = NULL; { … |
|
Hi all, I have a list of Classes and I want to sort the list of Class by one of the Attributes held within the Classes does anyone know a easy way of doing this. Kind Regards FlippA |
|
Hello everyone I have been trying to learn the greater mysteries of linked lists and have come across an error that is inexplicable to me at my current level of understanding. I have written a program that attempts to form a linked list to store student information in the form … |
|
How do i compare two linkedLists so that the onutcome is a sorted linked list from least to greates. Heres my code so far. list1.txt 1 2 3 7 9 10 13 list2.txt 4 5 6 8 11 12 14 how do i compare the two and make it into … |
|
Hi I have two python lists. list1 is a \n delimited web proxy log file. list2 is a list of domain names. I want to cycle through the list of domain names and for every log file entry check if the domain name exists anywhere in the log entry. If … |
|
I need to code a program that input will be any random string and the the output will include processes, unprocessed string. EX: Input String : XYZZXXYYXYZZXYZ Unique Prefixes : ['', 'X', 'Y', 'Z', 'ZX', 'XY', 'YX', 'YZ', 'ZXY'] Encode List : [(0, 'X'), (0, 'Y'), (0, 'Z'), (3, 'X'), … |
|
let's say i have a list of things, like: [bread, cookies, cake, chocolate, bread] how can I make loop that will, in each iteration, create a variable with the name of the item in the list? basically, i want to be able to count the times each item appears in … |
|
how do i read in files from a ".txt" file into a linked list heres my code. [CODE] import java.io.*; public class LinkedList1 { class Node { String element; // list element Node next; // successor link Node(String el, Node n) { element = el; next = n; } Node(String … |
|
I know that this is an easy one but it is hard for me to figure out. I need to make a program that can: * Open the file and read through all of the lines in the file. (got this) * If a line starts with "Subject:", skip the … |
|
I have two dropdown lists in my HTML form. In first dropdown list, I have some countries name already added in HTML form. In second drop down list there is no item yet except "Select choice". Now my problem is that I want that when i click on any country … |
|
Knowing to be one of the most advanced Technology Provider across the Globe, The umbrella of Oracle has made space for JD Edwards, Sun, PeopleSoft, Siebel and many more technologies. You wanting to reach out to the technology users out in the market place does not necessarily require confinement towards … |
|
Nipping problems and stakes at its bud is not the end of paving path towards success. If nipping problems forms the initial step of succcess marking, the second step is in formulating the right marketing strategy for the company. |
|
|
Dear Folks, I am trying to use python-idiom to reverse a list of lists so that, for example, a = [[1, 2], ['apple', 'orange']] becomes b = [['orange', 'apple'], [2, 1]] My code for this at present is: [CODE] import copy a = [[1, 2], ["apple", "orange"]] if type(a) is … |
I have been asked to create a student database using linked list. this is the question given to me. Write a C/C++ program to perform the task of maintaining student information for 123 College. You are to use a linked-list for storing the students’ information. Each node of the linked-list … |
|
Hello. I am not getting the right idea to the oracle table in the list box so can anyone please tell me how can i list the oracle sql plus table's column in the listbox. Thanks in Advance. |
|
How can I fix this problem? for example, I have this piece of code: [CODE] <ul> <li></li> <li></li> <li></li> </ul> [/CODE] Now with the CSS I've set the margin to 0 between the <li>'s, yet in IE it shows 1px margin between them. when I'm trying to add things beneath … |
|
Hi, i'm trying to take the last list from a list of lists, use that as a start point, then iterate through the list of lists and find the closest match, then use that matched list as a base and iterate through the remaining lists for the closest match to … |
The End.