2,965 Topics

Member Avatar for
Member Avatar for meet123321

Hi folks , i am working on hastable nowdays and looking ways to optimize my code . Please comment on my below observations and let me know if you have any suggestions. I have an existing implementation of chained hash table (A), which uses singly link list for chaining. typedef …

Member Avatar for Narue
0
193
Member Avatar for rahulrajcse

Can anyone say "which is the best data-structure that is implemented successfully?" (in terms of complexity & applicability)

Member Avatar for jwenting
-4
201
Member Avatar for leftovas17

Yes, I have looked in the forums for answers and have found plenty, and am asking about what I could not find. And yes, this is homework, but I need help and my professor has not responded thus far... now on to business. Description of Goal: Make a Set Data …

Member Avatar for leftovas17
0
497
Member Avatar for CPT

just as the title says i have a problem with serializzing class which has a pointer to class. so this is a mock-up of my class structure [code] class X{ private: int number; public: int set_number(int); int get_number(void); //I'm defining the stream operators so class will act as primitive data …

Member Avatar for L7Sqr
0
96
Member Avatar for Casper3912

I have a assignment which requires the use of multiple files. I don't believe I am linking them together correctly. I'm using visual basic 2008 at the moment. Ofter I get the program working I'll create a make file and test that. I'm also not too familiar with the string.h …

Member Avatar for thekashyap
0
189
Member Avatar for uc-it

Activity # 1. Create a program that inserts nodes using a binary search tree. Use an array structure to represent nodes of the trees. Activity # 2. Create a program that traverses a binary tree. Use the preorder, inorder, and postorder traversals.

Member Avatar for thekashyap
0
37
Member Avatar for codeyy

Element.h:15: error: using typedef-name ‘Element’ after ‘struct’ TrainToList.cc:6: error: ‘Element’ has a previous declaration here I understand that Element is getting defined twice but I do not know how to fix this. I must use Element as Car (or vice-versa??:confused:). Please suggest a fix to this problem. Now here are …

Member Avatar for rubberman
0
2K
Member Avatar for Menace 83

Hey Guys I was wondering if anyone can help me with this assignment like completely walk me through it? I would really greatly appreciate it....... I have tried doing it and have came up with nothing. I have been having a lot of trouble understanding this material this school year. …

Member Avatar for Menace 83
-1
554
Member Avatar for NOVICE3

Although I have received some advice and code snippets, I think that I should present a broader view of what I am trying to do and the trouble I am having. I have built a test fixture that has an internal microcontroller which directs traffic in and out of the …

Member Avatar for NOVICE3
0
191
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for java_programmer
0
309
Member Avatar for slfisher

The Maine State Bureau of Consumer Credit Protection reported today that it has received a query from an unnamed out-of-state finance company about placing Global Positioning System units into vehicles it finances or that its customers used as collateral, according to an [URL="http://www.bangordailynews.com/story/Statewide/GPS-data-intruding-on-privacy,151289"]article [/URL]in the [I]Bangor Daily News[/I]. Such GPSes …

Member Avatar for rubberman
0
756
Member Avatar for mimsc

Hello all. Im a Java developer, but have been given the extra title of Perl developer also. So im new to the code structure. Basically Im trying to pull the width and height from a url example below and display in an error msg just to test: [url]http://...readimage?1234a&height=10&width=10[/url] [CODE] use …

0
72
Member Avatar for tinymark

Hello to everyone. I have an old flat database with a couple of hundred entries that I want to convert to a relational design. It was a user database for simple login and some preferences. I would like to know if there is a simple way to convert from one …

Member Avatar for tinymark
0
181
Member Avatar for daiharrison

Hi there, I have posted previously but did not post the required logs. The logs that i am attaching have been done in the last couple of days. Albeit, MBAM a few days before. Getting SVCHOST.EXE when starting up the computer. I think it did cause Internet Explorer 7 to …

Member Avatar for gerbil
0
549
Member Avatar for JB Audio

Hi all. I hope this is the right place to post this. I am a music technology student and I've recently picked up learning C++ as it would greatly help my career knowing a programming language, especially this one since it is used in the video games industry. Anyways onto …

Member Avatar for rubberman
0
642
Member Avatar for heshanm

Hi all, I have created a registration form and a login form. But it is not working. The data would not go into the database. Can anyone show me the error. I have posted my pages and database structure. [B][U]registration_form.php[/U][/B] [CODE] <hr /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" …

Member Avatar for heshanm
0
84
Member Avatar for zachattack05

[COLOR="Red"]Disclaimer: [I]First, I'm aware that this is C++ code and this is a C# forum, I'm not all that familiar with C++ and was hoping someone here could explain the example below in C#.[/I][/COLOR] I was browsing the very complex source code of the open source project MySQL and saw …

Member Avatar for CsharpChico
0
798
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error [B]The requested resource (/servletexam/LoginServlet) is not available[/B]. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for ArtistScope
0
155
Member Avatar for illusionx

Hi! An email was opened. At that time, I guess a Trojan was downloaded. My Avast antivirus went nuts; I couldn't open the task manager or other system programs; I couldn't system restore; i couldn't even shut the computer down. I had to do a manual shutdown (held the power …

Member Avatar for crunchie
0
686
Member Avatar for viandante

Hello! I am trying to create a tabbed program with Pyqt4. The idea is that I want to be able to add python scripts in a folder. Those scritps should be then be accessible from a main framework/program. Finally, when I run the python script I want the window to …

0
73
Member Avatar for TrustyTony

Not my code but I think free to share. This is intended as beginning point of learning classes or learning data structures. Read the document [url]http://mcsp.wartburg.edu/zelle/python/python-first.html[/url] As first exercise, this does not work instead of the while loop in test part: [CODE] for i in numbers: print i [/CODE] [QUOTE] …

Member Avatar for TrustyTony
0
857
Member Avatar for sickpuppy18

Hello people i have a script that will show the days between two dates.Now my problem is The dates are stored in MS Access as text and when I compute it here in my script it always give the wrong value I really appreciate any help i can get also …

Member Avatar for priyadarshi206
0
148
Member Avatar for prettytonyshort

This is a homework assignment. I have the hardest time with arrays and I believe that is what is being a pain in my butt currently. I'm getting an argument null exception, which I believe is translating to "Tony you messed up another array." A jumping off point would be …

Member Avatar for ndeniche
0
142
Member Avatar for daviddoria

I am working on some code (not written by be, and too big to fundamentally change the structure of) where a pure virtual Image class is implemented. The user is expected to implement a function of their derived Image class with signature: [code] virtual Rgb* GetRgb(); [/code] Where the Rgb …

Member Avatar for mike_2000_17
0
278
Member Avatar for satti

am facing an error 'Run time error:424 Object required, Private Sub Form_Load()iam highlighting the error in code below. [CODE]Private Sub cmdAddEntry_Click() ' add a new entry to our table. With DataEnvironment1.rsDataTable .AddNew !CodeNo = txtCodeNo !DealerName = txtDealerName !TruckNumber = txtTruckNumber !Quantity = txtQuantity !NetPrice = txtNetPrice !Commision = txtCommision …

Member Avatar for satti
0
222
Member Avatar for winrycool1

When i finish my U.G at the rate i am going I don't think i will know anything.I want to know exactly what i should be knowing so that i can proceed with my graduate degree.Which languages are a must know,which data structure concepts i should know,should i be able …

Member Avatar for abelLazm
0
174
Member Avatar for waleed.makarem

Dear All , The question is simple , but may be It is very simple for me that I can not see it . I have two dataset , each with with table . each datasets is connected to a separate dataadapter to get data from sql server database file …

Member Avatar for Ranx
0
194
Member Avatar for chaosgeneration

Hey all, I'm currently working on a project that exemplifies matrix multiplication algorithms. My problem isn't working on the algorithms, but more of the structure of the classes. If any of you wouldn't mind looking over my code and helping me get a little more familiar with how things should …

Member Avatar for chaosgeneration
0
128
Member Avatar for muhile

here is my xml file i need help in creating an XSLT file to display it as HTML i a browser, the resulting output should deal with as many jobs as are returned and be simpla and clear to view in a table structure [CODE]<?xml version="1.0" encoding="UTF-8"?> <!--XML for XSLT--> …

Member Avatar for xml_looser
0
189
Member Avatar for fabzster

Hi I have a join query which I use for a report ok I have a query to give me results for a report that will give me all the stores that sold policies from a group during a period. It works however I cannot get it to give me …

Member Avatar for fabzster
0
208
Member Avatar for slfisher

"It's unbelievable, the kind of data that's out there about you," Cisco's principal security strategist Patrick Gray told a crowd in Boise, Idaho, this morning. The problem is that criminal hackers can use that kind of information to target a company, Gray said. He described one case where criminals in …

Member Avatar for jonlucas
1
862
Member Avatar for Fattman

Hi All if anyone could help me that would be great! currently i have an array which enables a user to input: Student Name Maths Mark English Mark Science Mark Array: StudentArray(25,3) i have this array output the data to a listview box. Column 1: Student Name Column 2: Maths …

Member Avatar for Fattman
0
271
Member Avatar for atticusr5

hello all, i am having a real hard time tracing down a logic problem and am looking for help. this program just does a binary search on a sorted list and returns a record. now it works for records that exist. however, i want it to continue searching until an …

Member Avatar for atticusr5
0
111
Member Avatar for 8_Pints

Hi, My desktop is running XP Pro SP3 and has McAfee A/V protection installed: [Security Center 9.15, Virus Scan 13.15, Personal Firewall 10.15. Anti Spamware 10.15] CPU Intel x86 PC with 4Gb main memory running on 945HCM-S mother board BIOS American Megatrends P1.00 08/19/2008 Data Execution Prevention is active [essential …

Member Avatar for benmar
0
167
Member Avatar for anirban1087

Hi, I have two problems regarding my database design 1. I have a table contains the details of items, available in a store. Now there are different size available for each item. How to design my table so that it will hold each item and all available size in a …

Member Avatar for anirban1087
0
135
Member Avatar for VanHackman

Hello, I need to use the webBrowser control along with a proxy which requires authentication. I have the following function, which works setting the proxy for the webBrowser control, but it seems like if it doesn't set the authentication data because the windows asking username/password still poping out. What is …

0
84
Member Avatar for WASDted

[ATTACH=RIGHT]19603[/ATTACH]I normally begin reviews with some background of the company or product I’m writing about but in this case let me say: every I.T. professional, programmer, developer, digital artist or person that carries their data and files around on a flash drive or disk needs an Imation Defender Biometric product. …

Member Avatar for happygeek
1
345
Member Avatar for JoyBh

I'm successfully importing a .dbf table into access using the get external data wizard. The issue is the data structure of the imported table. For instance, a filed with num(5) in .dbf will appear as double (without any field length) in the imported table in access. This limits onward use …

Member Avatar for boblarson
0
82
Member Avatar for lisha.ahuja

Hi Friends, -The current connector for accepting request to our existing system is written in C language,we had build a ".so" file by compiling c program using MF cobol. -Cobol application calls this ".so" files and passes the required buffer.The current data structure in our application is simple string. -Now …

0
45
Member Avatar for BobTheLob

Hey, so i've looked around online for a bit, and after finding similar, but not exact (as in it doesn't help me), i'm gonna post my problem here :P. I'm working on a class to handle Complex numbers. This is going to require a lot of operator overloads and the …

Member Avatar for BobTheLob
0
256
Member Avatar for InceptThis

[quote]Write a program to prompt the user to input an amount in pence. Your program should then work out what coins are the least number needed for this amount of money. The possible coins are £2, £1, 50p, 20p, 10p, 5p, 2p, 1p. For example, the coins which are the …

Member Avatar for Momerath
0
189
Member Avatar for JohnDove

I'd like to use data from a text flat-file in my VB app. I have a data dictionary that describes the content of the flat-file. The challenge is that the flat-file structure may change in future (with an associated change in the data dictionary). Not frequently but every 6 months …

0
55
Member Avatar for hantuapi

[CODE]#include<stdio.h> #include<string.h> #include<conio.h> struct menuItemType { char menuItem[15]; double menuPrice; } menuList[]= {"Plain Egg",2.50, "Bacon and Egg",3.45, "Muffin",2.20, "French Toast",2.95, "Fruit Basket",3.45, "Cereal",0.70, "Coffee",1.50, "Tea",1.80 },order[10]; void getData(struct menuItemType[],struct menuItemType[],int*); void showMenu(struct menuItemType[],int); void printCheck(struct menuItemType[],int ); int main() { int items = 0; printf("Welcome to HiFi's Restaurant\n"); printf("\n"); printf("******* …

Member Avatar for chrjs
0
127
Member Avatar for vishalonne

Hi Every Body I am just trying to insert a record in Access 2003 table by code of C#2008 Here is the code - [CODE]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.Data.OleDb; using System.Data.Sql; using System.Globalization; using System.IO; using Microsoft.VisualBasic; …

Member Avatar for Momerath
0
134
Member Avatar for kutuup

I have a Tree class that holds pointers to Player objects. Here is the code: [code=c++] #pragma once #include "Player.h" class Tree { private: public: Player* root; Tree(void); ~Tree(void); void DisplayInOrder(Player* localRoot) { if (localRoot != 0) { DisplayInOrder(localRoot->leftChild); localRoot->Display(); DisplayInOrder(localRoot->rightChild); } } Player* Find(const Player* key) { Player * …

Member Avatar for kutuup
0
122
Member Avatar for thecoolman5

hey, this code I wrote wont work. The 2nd and 3rd buttons wont show up in the program. [CODE] #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int WINAPI …

Member Avatar for thecoolman5
0
2K
Member Avatar for Tommymac501

Does anyone know how to copy subfolders from one place to another in VB?. I have a Template folder on a network share I want to use to set up the base folder structure on newly created job folders, however, I can't seem to get any copy methods to take …

Member Avatar for Tommymac501
0
657
Member Avatar for Tumbleweedracef

Hey all ! I have an Acer laptop with Vista on it. It had some viruses on it and also ZoneAlarm firewall. I "think" I got all the nasties off of it and I removed zonealarm. Now, everytime I bootup, the Windows firewall stays on for about 30 seconds and …

Member Avatar for jholland1964
0
258
Member Avatar for oxenjo30

hi guys, i'm having this kind of problem Warning: Cannot modify header information - headers already sent by (output started at /home/deleted/public_html/affiliateomega.com/face-fans/style.php:4) in /home/deleted/public_html/affiliateomega.com/face-fans/facebook.php on line 378 i really don't know why what's wrong, i've already check if their is a space or blank line but i got no clue …

Member Avatar for oxenjo30
0
216
Member Avatar for amalgorious

Hi. I write really terrible python, sort of like using crayons in art class. I have a couple questions. First is: where is the best forum for python newbies to learn how to write better code (standards) and optimize code (faster)? I just joined this forum, so it may not …

0
90

The End.