2,965 Topics

Member Avatar for
Member Avatar for melfoy

Hey , i am new to data structure and specially Graph . And i was going through a problem for finding the best path [url]http://www.codechef.com/JULY11/problems/LOKBIL/[/url] And couldn't think something usable. SO , if u guys help that will be a good start of me on this site too. PS i …

Member Avatar for alwaysLearning0
0
236
Member Avatar for b1izzard

Hi all, I need a little bit help in creating a small thesaurus like application in java. The application consists of some 50-100 categories and each category have some 2-10words of similar meaning. e.g Close-{shutdown,fold,end,come together} The words are hard-coded but I don't know which data structure suits the best. …

Member Avatar for JamesCherrill
0
200
Member Avatar for Twiggy159

A couple weeks ago my computer was hit with the "Windows Repair" virus that said my hard drives were crashing. I managed to get rid of that but it seems that now every once in a while Internet Explorer will pop up with a random link to anywhere, such as …

Member Avatar for jholland1964
0
416
Member Avatar for the.avon.lady1

Hi, I was having a problem with my new Dell computer making clicking noises so I called Dell Tec support. He took controll of my computer and ran some checks then told me I had Spyware that had to be removed. Wanted to charge me a high price to do …

Member Avatar for jholland1964
0
246
Member Avatar for killza

Hey, this exploit periodically pops up on my MSE. I'd ideally like to get rid of it permanently. Here are the logs I had to break this down into like a million posts because the logs were too large for one post to handle. Sorry about that! I know for …

Member Avatar for jholland1964
0
629
Member Avatar for tubby123

Guys before i post my problem , lemme say that, i HAVE gone through the previous blogs/forums on daniweb, so please dont get annoyed with this topic again. But none of them answer my question My question is, "How do you write a structure to a file and retrieve data …

Member Avatar for Narue
0
2K
Member Avatar for jkon

There must be a better way… Hello all, I am now designing a new data structure and I faced this problem that I am going to describe making me think that maybe I should redesign it. Maybe the solution is in front of my eyes, and please if you have …

Member Avatar for diafol
0
147
Member Avatar for zahidmaqbool

Hi, I have got a problem which has left me banging my head against the wall. Anyways, here is my situation. I've got to scan for a directory continuously and as soon as I've got a CSV file in it. I need to process that CSV file and pass on …

Member Avatar for stultuske
0
126
Member Avatar for naveedqadri

I have a website in asp.net developed by some one else, i have made some improvements and now facing problem while uploaded [ [url]www.ict-m.com][/url] this site is running well on localhost. scenario : all files has path starts with /ictm/../../*.aspx 1: i created a folder on root directory with name …

0
153
Member Avatar for sadsdw

Hi everyone, I have a std::map of structures . I'm reading the data from a file named "auxIdSorted.txt" and I need to do a while() using the variable auxID. The idea is read the map many times until all values of auxID become different of zero (while(auxID == 0). I …

Member Avatar for sadsdw
0
146
Member Avatar for ceyesuma

I went and tried to learn how to use Enum So I apologize for the lack of logical construction but I had to start somewhere I have code that I am not sure how to use it because I don't know how to call it so all the logic went …

Member Avatar for ceyesuma
0
124
Member Avatar for bangor_boy

As the title says i am trying to define RPC Calls, layers of software abstraction and serialization. I have came up with the following but confused at the last one, any help would be great Serialisation- Serialisation is the process of converting a data structure or object into a format …

Member Avatar for TrustyTony
0
141
Member Avatar for peterpa

well this one is the my first post in the daniweb , and i belive that i will get solved my problem . well i trying to create a MLM project in which i m trying to creating binary tree by using this code which i have attached in this …

Member Avatar for peterpa
0
247
Member Avatar for Muhammad Nauman

i have taken this code from [url]http://channel9.msdn.com/coding4fun/articles/Basic-Chat-Using-ASP-NET-AJAX[/url]. Global.asax: [code] Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Dim chatters As List(Of Chatter) = New List(Of Chatter) chatters.Add(New Chatter(New Guid("CD863C27-2CEE-45fd-A2E0-A69E62B816B9"), "Me")) chatters.Add(New Chatter(Guid.NewGuid, "Juan")) chatters.Add(New Chatter(Guid.NewGuid, "Joe")) Application.Add("Chatters", chatters) Dim chats As List(Of Chat) = New List(Of Chat) chats.Add(New Chat) …

0
51
Member Avatar for shyam2011

[CODE]-- phpMyAdmin SQL Dump -- version 3.2.4 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 22, 2011 at 08:44 AM -- Server version: 5.1.41 -- PHP Version: 5.3.1 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- …

Member Avatar for smantscheff
0
1K
Member Avatar for Nicco

Hi there, I'm working on a map for a class assignment and running into trouble. I've tried looking around the web but couldn't find anything that helped. I know how insertion works on a basic level when returning a node pointer but think i'm missing some key ideas when using …

Member Avatar for Nicco
0
2K
Member Avatar for rodm

hi, i am a python beginner, at the moment just playing_with/ testing/learning the language, and i must say that i love it. i intend to use it for a new project but i have a question about ... performance. for my project cpython is absolutely ok but, still, i have …

Member Avatar for woooee
0
207
Member Avatar for chemwiz1

I've seen earlier posts for this problem, but the solutions don't apply to me, and the earlier posts are a couple of years old. I was hit on 6/5/11 with malware from a legitimate website that I had accessed just the day before with no problems. Malwarebytes (MBAM) identified the …

Member Avatar for steven woodman
0
438
Member Avatar for montjoile

I'm getting a runtime error, and I can't figure out why. I'm developing the insert method of a btree. Below is the code of insert() [CODE] void insertar(btree* r, int dato){ int pos=0; btree* encontrado= buscar(&*r, dato, 0); //buscar() searches if [COLOR="Red"]dato[/COLOR] already exists if (encontrado==NULL) printf(" data already exists"); …

Member Avatar for gusano79
0
141
Member Avatar for heshanm

HI all, I have a small problem regarding my php project. There is a page called [B]open_account.php[/B]. It contains all customer data such as NIC, full_name, date of birth, gender etc. When a user fills all the fields in that form it redirects to another page called [B]new_account.php[/B]. There are …

Member Avatar for heshanm
0
227
Member Avatar for smandape

Hello Experts, you have been of great help to me when it comes to XSLT. Here is another problem I have while I try to extract the data from RDF/XML files. I don't know how to do that as there are terms like dcterms defined in the XML file. They …

Member Avatar for smandape
0
354
Member Avatar for dilequeno

I am trying to write a program in c++. I have a file that contains thousands of numeric entries sorted into four columns. The structure of the data looks something like the following: 3 0.2 0.5 6.2 4 0.1 0.6 6.2 //Track 1 2 0.8 0.5 0.6 2 0.6 0.5 …

Member Avatar for Ancient Dragon
1
322
Member Avatar for montjoile

I have this structure: [CODE] typedef struct nodo{ int dato; struct nodo *izq; struct nodo *der; }nodo; typedef struct nodo *avl; [/CODE] I have this method: [CODE] void insertar(avl *r, int dato){ if (*r==NULL){ *r=(nodo*)malloc(sizeof(nodo)); (*r)->dato=dato; (*r)->izq=NULL; (*r)->der=NULL; [/CODE] All this code works perfectly. My question is about the line: …

Member Avatar for montjoile
0
118
Member Avatar for thierrypin

I have this problem: I have a data structure called DACT, that I convert into a string line and send to another computer. I have a file full of DACTs, and I need to send them all to another computer. When I send only 100, it works fine, but when …

Member Avatar for thierrypin
0
190
Member Avatar for branding4you

I made a mysql table on my website with backend that allows me to upload images of affiliate companies i deal with. I used this script and it works. I now have need to add URL to these. As you can see i select the directory the iamges are in …

Member Avatar for urtrivedi
0
190
Member Avatar for apanimesh061

[CODE] using System; using System.Reflection; using MathWorks.MATLAB.NET.Arrays; using MathWorks.MATLAB.NET.Utility; [assembly: System.Reflection.AssemblyVersion("0.0.*")] #if SHARED [assembly: System.Reflection.AssemblyKeyFile(@"")] #endif namespace dotnet { /// <summary> /// The dotnetclass class provides a CLS compliant interface to the M-functions /// contained in the files: /// <newpara></newpara> /// C:\Users\User\Documents\MATLAB\waveCS\wavread.m /// <newpara></newpara> /// deployprint.m /// <newpara></newpara> /// printdlg.m …

Member Avatar for abelLazm
0
698
Member Avatar for david081

I was hoping someone could offer me some help please I am new to using asp.net .I want to create a web form with two comboboxes ,one text box and a button .I have multiple tables in ms access database with same structure , col1 and col2 . I want …

Member Avatar for david081
0
108
Member Avatar for david081

Hi I was hoping someone could offer me some help please I have a form with two comboboxes ,one text box and a button .I have multiple tables in ms access database with same structure , col1 and col2 . I want to insert text box value into column1 in …

Member Avatar for david081
0
163
Member Avatar for montjoile

Hi. As far as I know, [B]typedef[/B] is used to assign an alias for a structure or type of data, am I wrong? Is there something more to know about Typedef? thanks

Member Avatar for montjoile
0
146
Member Avatar for quetzal_7

Hi, help please! I have a struct containing an array of pointers to structs containing Binary Search Trees with nodes containing structs. ... <*sigh*> I hate C soo much... put work wants it to be in C. I can set the struct of BST's just fine, and keep it around, …

Member Avatar for Ancient Dragon
0
207
Member Avatar for milan2011

Hey everyone, I am currently working on a project to create a List ADT that has the following public interface: + size( ) : integer o Returns the number of elements currently stored in the list. o Postcondition: Returns 0 if empty otherwise returns the number of elements. + add( …

Member Avatar for mike_2000_17
0
167
Member Avatar for arcybarrios

Can't get rid of this sucker! Microsoft Security Essentials is the only antivirus that has detected it and "deletes" it every time if pops back in but for some odd reason it can't completely get rid of it. Malwarebytes has just detected after I reinstalled and I am posting log …

Member Avatar for jholland1964
0
840
Member Avatar for apanimesh061

This is a program for recording sound from an Audio Input device. I have taken help from the MSDN website ..... ! I did as they had mentioned .... [CODE] //wave.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Runtime.InteropServices; namespace Record { public class wave { …

Member Avatar for apanimesh061
0
737
Member Avatar for nethero

Hi there, I'm kind of new to python and I'm trying to extract a protein sequence from this webpage... [url]http://www.ncbi.nlm.nih.gov/protein/BAH23558.1[/url] When I use urllib.urlopen the html it gets does not contain the sequence data. When I open this page in firefox and use firebug to look at the page I …

Member Avatar for nethero
0
245
Member Avatar for eman 22

How can I determine the order of B+ Tree ? Or it should be according to the number of total elements in the tree.

Member Avatar for rubberman
0
129
Member Avatar for can_surmeli

Hi. I've a BST created for an address book application for my term project. When inserting into the BST, I insert items sorted by their first names in ascending order. The thing is that the user should be able to display the BST in the ascending form of last names …

Member Avatar for TrustyTony
0
718
Member Avatar for Dan1989

Hi, I have a Vshare redirect that goes straight to vshare.toolbarhome.com/?hp=df when I open Internet Explorer. I thought I had got rid of it on Firefox as I edited the URL to about:home but when I input a search it goes straight back to the Vshare URL search link. I've …

Member Avatar for crunchie
0
385
Member Avatar for can_surmeli

Hi all. As a part of my project I need to get the address book information saved in a .txt file into a Binary Search Tree. The info in the address book is stored like the following: First Name, Last Name, Date of Birth, E-mail, Phone, Address, City, Zipcode So …

Member Avatar for can_surmeli
0
2K
Member Avatar for DerrickC

I have written the following program. It collects inventory information and stores it in a file. I need to write a separate program that will access that file and give me the totals of the information stored in it ie. (quantity,wholesalecost,retailcost). What I'm specifically having trouble with is how to …

Member Avatar for DerrickC
0
184
Member Avatar for TrustyTony

[I]This is one idea for thread of some lessons learned with experience about asking wrong question and answers 'thinking out of box'. If there is need to have sticky, I suggest that this thread become sticky development thread and moderator can move the upvoted suggestions for next part in new …

Member Avatar for TrustyTony
0
223
Member Avatar for neoseeker191

The application is currently developed using ASP.NET (C#) I have code to pull data from a SQL Server 2008 table and organize it into an hierarchy: [code=sql] With hierarchy (id, [location id], name, depth, trail) As ( -- selects the "root" level items. Select ID, [LocationID], Name, 1 As depth, …

0
106
Member Avatar for Circaea

Hey guys, I just found out that I'm a semifinalist in Google International Online Science Fair! Thats top 60 out of like 7,500 projects. Right now theres a People's Choice award contest on, with the reward being a $10K scholarship! Can I get some votes from you guys? Just takes …

Member Avatar for Ancient Dragon
5
251
Member Avatar for abhi10kumar

Some times not saving date time buy I am inserting date and time, but storing 0000-00-00 00:00:00 [U]Here is the code[/U] <?php include("connect_mysql.php"); $date=date("Y-m-s H:i:s"); mysql_query("insert into buy_db (from_site, date_time_buy, model, ip) values ('".$_REQUEST['site']."', '$date','".$_REQUEST['model']."', '".$_REQUEST['ip']."')"); //header('Location:'.$_REQUEST['url']); ?> Attachment including: 1. Data in Table 2. Table Structure

Member Avatar for vibhaJ
0
166
Member Avatar for thekashyap

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. [COLOR="Red"][B]A brief on problem:[/B][/COLOR] Lets take example problem for simplicity: - I have a GSM network with a cell in it. - Cell's coverage …

Member Avatar for thekashyap
3
679
Member Avatar for CrazyMisho

Hello I try to make one linked list to double linked list but i have some probems with this .Can somebody help me? This is yhe the linked list: [CODE]typedef struct ns { int data; struct ns *next; } node; node *list_add(node **p, int i) { node *n = (node …

Member Avatar for rubberman
0
141
Member Avatar for dyingatmidnight

I;m trying to move a database created with WAMP from one computer to another. I've exported it as a .sql file and imported it by creating a new database and then importing into it. The problem I'm facing with this approach is that none of the data in the tables …

Member Avatar for dyingatmidnight
0
133
Member Avatar for montjoile

hi. Im trying to make an expresion tree for every ER that I read each ER will be transformed into postfix and saved in a string, which I'll be sending to arbol_expresion() to create it`s tree expression Searching on the web I found a method to convert the postfix expresion …

Member Avatar for abhimanipal
0
133
Member Avatar for peq

I don't know what I'm doing wrong, I've at it with trial and error for quite some time and still can't figure this one out. Here's the question and I'll add what I have so far at the bottom. Basically I have no idea how to meet these specifications with …

Member Avatar for stultuske
0
159
Member Avatar for wildplace

so.. my professor ask us to read map(x,y) into a graph data structure and traverse using Breadth First Search. although i asked him for help, i still so lost..can someone please explain how should i start, such as what are some functions the graph class should has..and what they should …

Member Avatar for wildplace
0
108
Member Avatar for Iamthecheese

I'm having trouble formatting a binary tree. In my program, the tree format should print every output as such: 35 30 29 25 24 20 15 This is the code that I have thus far. [CODE]public void treeFormatTraversal(){//begin int level = 0; if(root !=null) treeFormatHelper(root, level); else System.out.println("\nTree is Empty\n"); …

Member Avatar for Iamthecheese
0
155

The End.