2,965 Topics

Member Avatar for
Member Avatar for silentdragoon

Can someone point me towards a dead basic, complete example of a hash table utilising chaining? I've got a working hash function, I am just getting really frustrated with not understanding what I don't understand with the setting up of the hash table. All the examples on the web I've …

Member Avatar for arshdeepkaur
0
674
Member Avatar for hakka.tokumeino

I seem to have a problem with my internet explorer. it is starting up automatically when I start my computerI have checked the MSCONFIG and regitry settings for startup but iexplore is not listed anywhere, not even in the startup folder. I also did a HijackThis scan and i am …

Member Avatar for Prasad Thale
0
252
Member Avatar for arba shahid

aoa guyz...plzzzz help me...i have to do a project whic should be related to data structure...kindly suggest me the easiest project becoz em very weak in programming...:(

Member Avatar for Suzie999
-1
196
Member Avatar for adeeb.keyaam

**Here is my code below:** <?php if(isset($_POST['create'])) { // db connection $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "emanage"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); // prevent mysql injection foreach ($_POST as $key => $value) { $_POST[$key] = mysql_real_escape_string(strip_tags($value)); } …

Member Avatar for Webville312
0
254
Member Avatar for Enrique Nivasch

I am serializing an object and storing it on a file using one assembly and reading it and deserializing it using a different assembly. When the second assembly attempts to deserialize the object I get back the following error: Unable to find assembly 'CreateData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Googling around I …

Member Avatar for saratkumar123
0
10K
Member Avatar for slwf

I need to remove Vundo and potentially other issues from my son's computer. BTW **Do not allow your kids to play Pickle **as that seems to be where he got it. *sigh* I've followed all of the instructions from the "Read me before posting" instructions. Your help is much appreciated! …

Member Avatar for gerbil
0
474
Member Avatar for rhaylee

My professor gave us an assignment that I am not entirely sure how to start correctly. She gave us 2 java classes as well to use. Any assistance would be greatly appreciated... So basically, two things need to be done. I need to create two more classes, ExternalHashing and IndexHashTable...and …

Member Avatar for JamesCherrill
0
1K
Member Avatar for cnet1989

I'm a computer science major and I'm taking an intro to C++ programming course. I have to write a program that reads in the data from a .txt file and echoprint it, and also print the data again but with every fifth word with 10 underscores. I was able to …

Member Avatar for mike_2000_17
-1
620
Member Avatar for Aarowaim

I have two questions here. First of all, how do I enable selection of multiple listbox items and select them via code? Secondly, how do I prevent the user from selecting multiple lines? Now, for some background and my thoughts. I'm working on a project for computer science in which …

Member Avatar for Reverend Jim
0
711
Member Avatar for Troy

class_session.php is a session management and password protection class. It can be used to perform 2 major functions: 1. Create and maintain session state between page hits. The class does this using simple session cache files into which the session is stored as a serialized array. This is similar to …

Member Avatar for LastMitch
1
642
Member Avatar for Thundermunch

Hi i've been working on a piece of homework we're I've been asked to implement a 2d grid in opengl and extend Dijkstra's algorithm to A star, so far i've been able to get the 2d grid running with Dijkstra's algorithm with not too many problems but my current extenstion …

Member Avatar for mike_2000_17
0
307
Member Avatar for ferdinandmucos

With the following text file $string = '1) The most important feature of spiral model is: requirement analysis. Risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: Unit testing. …

Member Avatar for ferdinandmucos
0
210
Member Avatar for greyfox32

I am working on a program which takes a text file as input and stores each word in a hash table along with a count of how many times the word occurs in the text. It seems to work fine until I attempt a file with more than 18 words, …

Member Avatar for bguild
0
262
Member Avatar for fishsticks1907

I'm currently a Computer science student and i have been mainly programming in C++ for about a year. I've search around different sites and some say you have to know basic stuff like: Whats the difference between a class and a struct? What is a constructor? What is meant by …

Member Avatar for falchion-gpx
0
350
Member Avatar for nitsi

Hi, I have a weird requirement and since i have never worked on xml, xsd and python i am not understanding how to go about it. There will be 2 xsd files containing parameters(structure), (may or maynot have)default values for them and range values for them. The xml file will …

0
174
Member Avatar for moha_1990

hey guys this is the question compile shuffleUniqueRandomNumbers.c and run the exe file to generate n number of random numbers. The program asks for three (3) parameters: generated number, lower bound and output file name. For example if you input 100 as generated number, the program will generate 100 numbers …

Member Avatar for jwenting
0
235
Member Avatar for ferdinandmucos

Having a text file: $string = '1) The most important feature of spiral model is: requirement analysis. risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: unit testing. beta …

Member Avatar for ferdinandmucos
0
952
Member Avatar for happygeek

The UK Information Commissioner's Office (ICO) has slapped the Greater Manchester Police force with a £150,000 fine (reduced to £120,000 for early payment) after a memory stick containing sensitive data about serious crimes was stolen from the home of a police officer. ![dweb-police](/attachments/small/0/dweb-police.jpg "align-right") The ICO has the power to …

Member Avatar for LastMitch
1
353
Member Avatar for kshahnazari

I was writing a data structure but suddenly after a little coding a strange error gives that no operator">>" matches these operends and also no operator"=" matches these operends . its just after if (right==1) in the cin>>a[i] and a[i]= mininfinitive the code : #include <iostream> #include <iomanip> #include <fstream> …

Member Avatar for Moschops
0
263
Member Avatar for ferdinandmucos

I have this text file that contain questions and their respective four multiple answers, when I try to display them in html form, the diplay only contains three multiple answers and not four. this are the codes: Text file: $string = 1) The most important feature of spiral model is: …

Member Avatar for paulkd
0
201
Member Avatar for zahidpp

Please Help me This Question On computers using the Intel 80n86 series of processors there are two different ways of storing an address. These may be called near and far . A near address requires 16 bits of storage whereas a far address requires 32 bits of storage. An actual …

Member Avatar for Ancient Dragon
0
343
Member Avatar for bluekb

#include <stdio.h> #include <stdlib.h> #include <string.h> #include "queue.h" #include "stack.h" #define NAME_SIZE 20 #define RECORDS_SIZE 100 typedef struct { char studName[20]; int timeEnter; int timeUpdate; }STUDENT; typedef struct { char tutorName[NAME_SIZE]; int tutorTime; STUDENT *ptr; }TUTOR; QUEUE *queue1; STACK *stack1; void getData(STUDENT *studArr[], TUTOR tutorArr[1]); int main(void) { STUDENT *studArr[RECORDS_SIZE]; …

Member Avatar for bluekb
0
349
Member Avatar for cshrikanth

Dear all, In the function below, how should the array of arrays data structure be defined and used? void foo(int option) { int i =0; char Colstr[3][15] = {"Red","Blue","Green"}; char Volstr[7][15] = {"1","2","3","3.5","4","4.5","5"}; char Sndstr[4][15] = {"lo","med","hi","vhi"}; int numSTrings[2] = {3,7,4}; char *arrayOfarrays[] = {Colstr,Volstr,Sndstr}; // How should this be …

Member Avatar for cshrikanth
0
139
Member Avatar for thexile

Hello I am at a lost of how to search for data in a file which was populated through structure. Supposed I have 15 chemicals and each of them contains additional information (e.g. Chemical Name, Chemical Formula, Chemical type, State of the chemical, Antidote name etc). If I want to …

Member Avatar for Ancient Dragon
0
161
Member Avatar for غادة

**Write a C++ program that will make use of the following structure and The typedef Statement: typedef int ArrayType[MaxSize]; The structure is the OneDArray structure, which contains the following data items: a- Name of array. b- Size of array. Use dynamic memory allocation (dynamic one-dimensional array) for storing positive numbers …

Member Avatar for owenransen
0
156
Member Avatar for Mrewan79

I've done the following code but I can't figure out how to get an output to come out; I used a structure to store both strings and doubles, and then created an array using that datatype. However I can't work out how to create an output. It wont let me …

Member Avatar for tinstaafl
0
160
Member Avatar for hitro456

Hi all, I have some data in the file, which I want to store in the following format : 23 345 9.8 25 457 9.0 11 237 8.3 86 32 2.3 and so on..... I want to store this data in in some data structure, and later I want to …

Member Avatar for JamesCherrill
0
184
Member Avatar for ef_mag

Hi, i have plenty of excel files i have to read them and store the data in a database. I am using eclipse as editor and mySQL. I am using APACHE POI to read the excel files and JDBC for the connection. The excel files have the structure as the …

Member Avatar for JamesCherrill
0
2K
Member Avatar for tdee

You will create a program that determines the language of a given input file based on the words in that file. The structure of the input files will be one word per line (all lowercase letters). You should read these words in one LETTER at a time. Each input file …

Member Avatar for VernonDozier
0
240
Member Avatar for bluekb

#include <stdio.h> #include <stdlib.h> #include <string.h> #define FILE_NAME 20 #define LIST_SIZE 50 float calMean(RECORD list[].score, int count); typedef struct { char *name; int score; }RECORD; int main (void) { // Declarations float mean; FILE *fp; char fileName[FILE_NAME]; RECORD list[LIST_SIZE]; char buffer[100]; int count = 0; int i; // Statements printf("Enter …

Member Avatar for JasonHippy
0
376
Member Avatar for Dorar

Hi This code not run : it show this error: incompatible types-found java.lang.String but expected HuffmanCodingAnimation.Node This line of code ` root.left.code = root.code + "0";` Here is the code: import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.tree.*; /* * This program enables a user to enter text and displays …

Member Avatar for JamesCherrill
1
653
Member Avatar for tdee

You will create a program that determines the language of a given input file based on the words in that file. The structure of the input files will be one word per line (all lowercase letters). You should read these words in one LETTER at a time. Each input file …

Member Avatar for tinstaafl
0
185
Member Avatar for happygeek

Zurich Insurance in the UK has just discovered the true cost of failing to secure confidential customer data properly, as the Financial Services Authority (FSA) fines the company a record £2.275m ($3.5m) for the data loss incident in 2008 which potentially put some 46,000 customers at risk. [attach]16866[/attach]The incident occurred …

Member Avatar for LastMitch
1
579
Member Avatar for ehpratah

Hi to all just wanna ask how to achieve something like on show all data if a certain field on the table is equal to **2**. basically what im trying to make is a search form by the way the searching part is working it just that its showing all …

Member Avatar for ehpratah
0
170
Member Avatar for coolbeanbob

Hi Everyone, I am trying to get the program below to work correctly. The line below is where I'm having trouble. (line 33 in PrefixCalc.java) calc = new ExpressionTree(new Scanner(console.nextLine())); When I run the program and enter "4 + 8", the scanner only picks up "4". Apparently this program was …

Member Avatar for deceptikon
0
343
Member Avatar for rolanduk

Hy All I run a PPD website, so the members have to complete a survey before they can download a file. But after the survey they got this error, please see the pics. http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png I didnt edit anything and check the file structure and didnt see any bad coding. I …

Member Avatar for rolanduk
0
445
Member Avatar for WASDted

[ATTACH=RIGHT]21161[/ATTACH]Power, it’s a dirty word. Power corrupts, and I don’t just mean people and politicians. Power problems, impurities and inconsistencies are a huge contributor to problems with sensitive computer equipment. Power problems can damage hardware as well as your files and data. The losses and downtime that result from power …

Member Avatar for Mastaba
1
2K
Member Avatar for Samyx

Hello Everyone, How can I save the field id/name on a variable, once an user clicks on it, so that later I can use that variable as a parameter to retrieve data from the database? In the code below, you can see that I am selecting information from 'ac' in …

Member Avatar for LastMitch
0
202
Member Avatar for tony75

Hi I wonder if somthing wrong with this script? I get this resuly in my linux ./accessdll.py : No such file or directory #!/usr/bin/env python from subprocess import Popen, PIPE from re import split from sys import stdout class Proc(object): ''' Data structure for a processes . The class properties …

Member Avatar for tony75
0
199
Member Avatar for Awais Ali

hye guyz, Can any one tell me that what the data structure is used behind FACEBOOK ??? I have googled but not found any useful answer... plzz tell me quickly..

Member Avatar for BigBang@12
0
833
Member Avatar for somjit{}

i wrote a code to implement some basics of priority queue , but apparantly its not giving desired output. the code is implemented using binary heap as its data structure. i tried tinkering here and there , nut no luck... i want to display a given number of max or …

0
141
Member Avatar for Samyx

Hello Everyone, I am having a problem trying to display two graphs and a data grid. I am able to display both graphs and the grid in individual files, but when combining both the graphs display and the grid becomes hidden. I checked some posts online, and it seems to …

Member Avatar for LastMitch
0
239
Member Avatar for tubzz

write a menu driven program to create a linked list, insert an item, delete an item, and display the list of items. the program should contain a class with the required data and functions. #include <conio.h> #include <stdio.h> #include <stdlib.h> //Structure containing a Data part & a //Link part to …

Member Avatar for Ancient Dragon
1
160
Member Avatar for happygeek

FireEye security researchers are warning that they have [detected a new zero-day vulnerability](http://blog.fireeye.com/research/2013/02/yaj0-yet-another-java-zero-day-2.html) that is being used successfully in the wild against browser clients with both Java 6u41 and Java 7u15 installed. Given that the Java 7 update was only released a couple of weeks ago, this is yet more …

Member Avatar for jwenting
3
1K
Member Avatar for tumblinmonkeym

I have to write a program that creates a binary search tree from a file and output it and several other requirements. One requirement that I cannot figure out is how to find the search cost for each node. These are the instructions I was given Calculate the search cost …

Member Avatar for gusano79
0
656
Member Avatar for tiffany.leroux.7

I am doing huffman coding and I have made the tree. Now I am required to traverse the tree to create bit strings associated with the characters. Then I will put the bit string and char into a map to use with encode/decode. I have been working on this for …

Member Avatar for owenransen
0
462
Member Avatar for next_tech

Hi Guys, I am working on a binary search tree and I've been stuck on some code for the last couple of days. There are 2 issues that I can't seem to figure out how to fix. 1) I have a file that has a list of names and ID's …

Member Avatar for bguild
0
414
Member Avatar for riahc3

Hey I have a program in retrieving data from a HTML page with Javascript using Java. Lets say I have the structure of C:/index.html C:/js/script.js index.html contains: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="js/script.js"></script> </head> <body> <a href="javascript:void(0);" id="add"><img src="images/menunew.png" alt="plus" border="0" /></a> …

Member Avatar for Sammy@
0
2K
Member Avatar for ahmzy

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; using System.IO; namespace Enrolement { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { /* This part of my code imports the …

Member Avatar for ahmzy
0
1K
Member Avatar for alex910TN

Hey guys, I have a silly issue that is bothering me. I am trying to read an unknown amount of lines from an input file and basically stop when I reach the EOF. I probably does'nt matter but the assignment is to create a simple lexical analyzer/scanner for a mini-subset …

Member Avatar for deceptikon
0
6K

The End.