659 Topics

Member Avatar for
Member Avatar for Fbody

I just started an advanced C++ course and my instructor sent around a file with this piece of code: [code]class smallobj // specify a class { public: smallobj() : iData(0){} // Constructor smallobj(int iInValue) : iData(iInValue) {} // Overloaded Constructor ~smallobj() {} // Destructor void setdata(int d) // member function …

Member Avatar for Fbody
0
1K
Member Avatar for Venom Rush

Hi all I've been trying to find a jquery list selection solution along the lines of the following. I want to have two boxes. One on the left that holds all the options to choose from and a box on the right that holds the options selected in the left …

Member Avatar for Venom Rush
0
134
Member Avatar for MegL

I have a dropdown list at the bottom of my page. It's populating like it's supposed to but when I choose whatever option I want and click submit it doesn't repopulate the content on the page like I want it to. I'm trying to have content of the page change …

Member Avatar for Wraithmanilian
0
145
Member Avatar for SecurExpert

someone please help me out on this linked list code. it seems not to work out. it is sort of a doubly linked list. look it out. [CODE] #include<stdio.h> #include<stdlib.h> int count = 0; struct node_ptr{ int value; int no; struct node* back; struct node* next; }; struct node_ptr* root; …

Member Avatar for Salem
0
113
Member Avatar for jfoster80

Hi, I'm not just new to this forum, but I'm also very new to programming and C#... so be warned! I am using a dictionary list to hold my usernames for an application I'm making. It's never actually going to be used, but it's purely to develop my knowledge. Firstly, …

Member Avatar for jfoster80
0
289
Member Avatar for kemiko

The following is output from an unknown command off an old school DEC Ultrix machine. Does Linux have a similar command/tool? Thanks, Kent 1 pend_nonpayment: int(), <pend_nonpayment.c 79> 2 usr_pwd: <> 3 display_error: <> 4 clears: <> 5 paint: <> 6 current_date: <> 7 get_process_date: <> 8 strcpy: <> 9 …

Member Avatar for gerard4143
0
249
Member Avatar for johni12

Hi, I am a newbie here and a python newbie as well :) I am having trouble implementing a program in which you must use only recursive functions and no built-in python functions other than the len function in order to determine if there are duplicates of an item in …

Member Avatar for johni12
0
240
Member Avatar for CaffeineCoder

Does anyone know how to setup a dropdown list for C# without using a database? I'm trying to set up one that will allow users to select a newsletter from the dropdown and have it pop up in a new window. Any ideas? [CODE] <ASP:DropDownList id="NewsletterSelect" runat="server"> <ASP:ListItem value="'[Path]'">Newsletter 1</ASP:ListItem> …

Member Avatar for CaffeineCoder
0
253
Member Avatar for andrewktmeikle

Hello, I'm having a slight problem with my code. The task is to create an indexing program, similar to the ones the google uses. The problem i'm having is that we have to remove the common ending from the words left after the removal of stop_words(which is a list variable …

Member Avatar for andrewktmeikle
0
2K
Member Avatar for tzushky

Good morning coders !, I stumbled accross an initialization this morning and even though I get it , it's not 100%. I'll simplify it this way: I have an array declaration: [CODE]uint8_t MyArray[MAX_SIZE][/CODE] I have a linked list structure: [CODE]struct MyLL{ struct MyLL * next; struct MyLL * previous; uint16_t …

Member Avatar for tzushky
0
481
Member Avatar for ganmo

Hey, I am currently following a code skeleton to implement the missing code for some function. Below is only some part of the implementation I've done so far. Yes it is not much yet... I got stuck for the implementation of the [B]list_add()[/B] function. What I want to do there …

Member Avatar for ganmo
0
102
Member Avatar for Gerard I MUFC

Hello everyone, pleased to be on the forum. I'm currently undertaking some game development in Visual Studio, in my spare time. I've been programming for a few months, in Java, and now am having a go at C#. I have however run into a little snag with lists. I'm trying …

Member Avatar for Gerard I MUFC
1
340
Member Avatar for Soundgarden

Howdy all hope everyone is having fun with there own projects! But i have come once again to be a pain in the ^**^. I need to know an easy way of doing this -> as an example say: I would like to some how use a MultiDarray in this …

Member Avatar for Soundgarden
0
391
Member Avatar for cVz

HI there. We are currently creating a page which contains (a) 10 Check Boxes (b) for each check box there is a radio button list with 10 values. What we want to achieve is the following When e.g. The first checkbox is checked, the forst radio button list should be …

0
103
Member Avatar for frankycool

I have an arraylist As such :- products.add( new CarsSubProduct( "FordMustang",1,12,10000 ) ); products.add( new CarsSubProduct( "JEEP",2,10,10000 ) ); I am trying to Edit just the value 12 without altering the value of the other objects but no success.When i use the set method it automatically modifies all the four …

Member Avatar for ~s.o.s~
0
847
Member Avatar for frankycool

HI i am using this syntax to store arraylist to inventory.dat file.When i store, it give a scattered output on the .dat file like this..... ¬í sr Carsguimainexecution.SaleinfoÕE£ñWfö L productsalest Ljava/util/ArrayList;xpsr java.util.ArrayListxÒ™Ça I sizexp w sr Carsguimainexecution.SalesubZ㾝ÓÅ xr Carsguimainexecution.SaleProductøié>‘2q I CarnumberD pricesoldI productNumberD stockD unitsoldL Carbuyert Ljava/lang/String;L Carnameq ~ xp …

Member Avatar for javaAddict
0
214
Member Avatar for frankycool

I have an arraylist As such :- products.add( new CarsSubProduct( "FordMustang",1,1000,10000 ) ); FordMustang is Car name 1 is Car number 1000 is total number of cars in stock 10000 is price per car I will like to Store it to access database or excel.Please how can these be done.

0
73
Member Avatar for masterinex

Hi guys , Im new at pythons . Hope you all can help me out here : Im trying to write a code which prints the elements from every list as a line . so If my lists are : l1 = ['0000002', '0000003', '0000004', '0000005', '0000008', '0000009', '0000010'] l2 …

Member Avatar for masterinex
0
288
Member Avatar for nccsbim071

Hi I am developing FTP Clinet application that downloads files from the specified server i sent the LIST command and server returned a list of file names in following order: -rw-r--r-- 1 devubas devubas 24 Sep 5 2008 .bash_logout now the problem is how do i extract the filename fom …

Member Avatar for nccsbim071
0
152
Member Avatar for jay 11

It looks like Twitter Lists have arrived - Hallelujah! I just signed in to my account and got the following: [QUOTE]"New! Lists. A great way to organize the people you follow and discover new and interesting accounts. (BETA) Lists are timelines you build yourself, consisting of friends, family, co-workers, sports …

Member Avatar for InsightsDigital
1
92
Member Avatar for eliza2044

Hey guys, Can anyone post sample code about updating an object that is already in an std::list? I know that it sounds as a really stupid question, but obviously I'm doing something wrong. In my code I'm going through the list with an iterator until I reach the object of …

Member Avatar for eliza2044
0
6K
Member Avatar for jsw24

I am trying to add to an empty list in python and I am having trouble. Ill give an example of the code to see if anyone can help me out.... num = 0 mylist = [] while num < 10: num = num + 1 mylist = mylist + …

Member Avatar for masterofpuppets
0
15K
Member Avatar for TigerGirl

Hi I have a method that has a reference to a linked list and an int that is the value. I want to recursively call that value to count and return how often that value is in the linked list. So, here is what I got: [CODE]public static int find(LinkedNode …

Member Avatar for TigerGirl
0
105
Member Avatar for jtabak2

I am relatively new to python, and have run into an issue with reading a strangely formatted output file. The current format of the output file for each line is [(x,y),.....(x,y)] (tuples nested within a list?) and I need to read each line in the file and output a 3 …

Member Avatar for jice
0
161
Member Avatar for jtabak2

I am new-ish to python and need to write a short program which will take a file with many lines of sets of coordinates alongside a defined variable of a series of letters and out a 3 columned file with columns x, y, and letter. the input file has each …

Member Avatar for jice
0
154
Member Avatar for DustinS

I am relatively new to c# and am making a 2D physics engine as a fun project to learn the language and the .NET environment. I am making a form that can be used to modify the number of objects. Unfortunately, I cannot find a way to change the length …

Member Avatar for DustinS
0
215
Member Avatar for SCRAWL

Over on my site, I have a list of PS3 and Xbox 360 exclusive games: [url]http://scrawlfx.com/ps3-360-exclusives[/url] However, each item in the list is colored differently depending on whether it's solely exclusive to the console, exclusive to the console but has a PC version, or exclusive to PS3 or 360 but …

Member Avatar for codejoust
0
106
Member Avatar for nunos

Hello. I have a (main) list of objects 'feedbacks' which have an 'order_id' and a 'message'. I have another list of simply 'order_id's whose correspondent object in the main list I would like to see removed. For example: main list: [object type 'feedback', object type 'feedback', object type 'feedback'] let's …

Member Avatar for nunos
0
332
Member Avatar for happygeek

Ever wondered what the most popular passwords being used are? Ever wondered what the crappiest, most insecure passwords being used are? Hey, you are in luck as it seems the two lists are exactly the same. The What's My Pass 'Top 500 Worst Passwords of All Time' [URL="http://www.whatsmypass.com/?p=415"]list[/URL] makes for …

Member Avatar for fire_munki
0
290

The End.