2,055 Topics

Member Avatar for
Member Avatar for saraalaee

hello!! is there any body to answer my question : is "General List" a data structure(like ArrayList for example) in java language??if it is, plz tell me what it exactly is??I have searched but i didnt find anything about it!!

Member Avatar for jasimp
0
91
Member Avatar for ashkash

I have a number of files in a folder that are named as numbers like 1, 2, 3, 4, 5, 6, etc. I also have a text file in the same folder that identifies each of these numbered files and gives their path location. The text files looks like this: …

Member Avatar for Comatose
0
190
Member Avatar for Vincentjames501

Ok, I think my problem has to do with my rotation functions. It is not performing them correctly though I don't see where they are messing up. On a more complicated tree when it performs a rotation the structure of the tree becomes incorrect. Maybe some one can see something …

0
63
Member Avatar for tasneemnikhat

hey ol, i dnt hav much time left to solve des Q's.. can u plz guide me solving des... Fundamental Exercise /* class design, dynamic memory allocation and operator overloading */ 1. Write a program to implement Matrix class. • Implement addition and multiplication operation • row and col of …

Member Avatar for tasneemnikhat
0
121
Member Avatar for shihab-alain

Hello, I'm in the process of designing an app which basically functions as a multi-part application(multiple forms) incorporating a basic cms and payment tracking. I'm having trouble coming up with the db structure for the multi-part application. The site needs to be flexible enough to: -Have multiple forms -Store/track form …

Member Avatar for dickersonka
0
107
Member Avatar for emiola

Despite the fact that my script runs perfectly well on the server, it fails to submit form data into mysql database. Kindly look into this for me. see code below: [code=php]<?php> $dbcnx = mysql_connect("localhost","user_name","password"); if (!$dbcnx){ exit('<p>Unable to connect to the database</p>'); } If (isset($_POST['submit'])) { $SchoolName = $_POST['SchoolName']; $SchoolEmail …

Member Avatar for nav33n
0
243
Member Avatar for cbreeze

I am supposed to read in data from a file, create a linked list, and be able to traverse it. I feel like I have the first part of the code correct but I get a segmentation fault when I try and run the program and the pgm4.rpt file is …

Member Avatar for vmanes
0
135
Member Avatar for jooa

Hi I am trying to implement the Fast Fourier Transform. I have some code which I got online and slightly modified. I have a class GrabPixels which extracts a pixel array from an image, the class FFT implements the transform. My problem is I don't think the methods in the …

Member Avatar for JamesCherrill
0
403
Member Avatar for bar7b

Im trying to build a site that gets info, lets say product prices, [B]from different xml sources that have a different structure[/B]. Then it displays all the prices sorted.. My first guess is to import all the data from the different XMLs to a mysql db after the sorting of …

Member Avatar for bar7b
0
126
Member Avatar for Drahmina

Im just trying to load a PNG file i created of a background for a game I plan to produce eventually. However im not sure how you go about adding that image to the window. Ive opened up a standard windows app template with the following code. [code]#include <windows.h> /* …

Member Avatar for death_oclock
0
113
Member Avatar for vishwana

Hi, I have to read a xml file in a tree structure, modify and save the xml file. I tried using xmldatasource and treeview controls. But only the tag names are retrieved. The text and attributes in each tag are not getting displayed. since my xml file can contain many …

0
52
Member Avatar for GadiK

Hi Guys. I wrote a nice MFC application. This app uses a number of threads and is meant to manage rs232 communication with a microcontroller. When I send or receive data Visual Studio informs me of a [B]Memory Leak[/B]: Detected memory leaks! Dumping objects -> f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp(306) : {184} client block …

Member Avatar for Salem
0
893
Member Avatar for Innercoder76

Hey everyone, I've got a problem with my program and don't really know how to fix it. The program is a simulation Game of Life and has these rules: 1. A new cell is born on an empty square if is surrounded by exactly three neighboring cells 2. A cell …

Member Avatar for nucleon
0
94
Member Avatar for yaee

Write a function to overload subtraction operator for Class Order, which you created in previous question. The class has following attributes/ data members i) OrderID ii) Items iii) PricesOfItems Write the main () to call the - operator and print the result also. This operator should subtract the items of …

Member Avatar for Comatose
0
242
Member Avatar for jksaheta

/* Problem statement... You go to a wedding reception, and there are a lot of people. All of these people 'know' the bride or the groom in some manner. Additionally, a lot of them may know each other in one or more manner. For example, let's take Ann and David, …

Member Avatar for verruckt24
0
118
Member Avatar for chicago1985

I have a ASP web application working with SQL Server. It has around 500 records and it works great. Now my management wants to redo the application for the 5th time in the last several months. The management knows nothing about web development and engineering. The management now wants to …

Member Avatar for agrothe
0
93
Member Avatar for ryy705

Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe …

Member Avatar for mcscreech
0
1K
Member Avatar for starzstar

Hi I want to print something like this to the standard o/p I am currently doing sys.stdout.writelines("%s %10s %10s\n" %(Folders['Table']['Table'][i]['name'],Folders['table']['table'][i]['data']['Place'],Folders['table']['table'][i]['data']['Age'])) but is not very well formatted how do I maintain column structure here ====================================================== Name Place Age ====================================================== John US 11 Mary UK 12 Mike US 14 How to do …

Member Avatar for jlm699
0
98
Member Avatar for nirav bhatt

[CODE] #include <cstdlib> #include <iostream> #include <string> #include <math.h> #include "utils.h" #include <float.h> #include "onboostnn.h" //using namespace std; /* Constructor function. This sets the training example file and number of base models. It also sets to NULL other variables to be used later. */ onboostnn::onboostnn(datafile* examples_to_train, long new_num_base_models, int new_num_epochs, …

Member Avatar for ArkM
0
121
Member Avatar for sweetApple

I am creating a program that involves a simple agent navigating a grid world to discover food. I am having trouble creating a unique class for the agent (which contains data members that represent its perception of the world - direction of the smell of the food, a visual 5x7 …

Member Avatar for sweetApple
1
140
Member Avatar for Dewey1040

I'm still generally new to C, I understand most basic concepts, and were now starting to learn much more complex tasks. Right now im stuck on a program to add polynomials, using linked lists. My book Data Structures - An Advanced Approach Using C, is a real difficult read, and …

Member Avatar for Dewey1040
0
99
Member Avatar for StainlessSteelR

This is what I'm suppose to do: "Create a while loop to read in the corporate sales data from the pgm3.dat file and create a report listing data for each division as well as some of the summary data described in Programming Challenge 12 in the textbook. Inside the loop, …

Member Avatar for Ancient Dragon
0
122
Member Avatar for petike

Hi all, I would have a question. I know that I should (or must) respect the encapsulation rule (as one of the main three Java features) but what about if I have some "Data Structure"? I mean something like "struct" in C/C++. So if my class contains only data (not …

Member Avatar for Rashakil Fol
0
100
Member Avatar for tobycatlin

Hello everybody, I am after a little help using python to read in data from a binary file. This is what i got so far: [CODE] import struct infile = "friday.bin" FH = open(infile, 'rb') line = FH.read(32) data= struct.unpack("<H", line[0:2]) print data [/CODE] Which produces an output: 38288 I …

Member Avatar for NarendraRoy
0
4K
Member Avatar for naveensingh

Hi, first of all Hi to all members. i have a shopping portal in which we data coming from different merchant on web of there products in CSV format. the CSV of the product come in standard Structure from all the merchant. we get these CSV at same time schedule …

Member Avatar for mwasif
0
144
Member Avatar for rat1973

I wish to perform a sort of an XML document, and have the output be in the same structure as the existing document. The reason for doing this, is I need the resulting document to be transformed into a new document. My source XML is: [code] <?xml version="1.0" encoding="UTF-8"?> <Msg …

Member Avatar for rat1973
0
152
Member Avatar for luckyads

Hi! I have 2 XML files with different structures. Can I 'merge' them into 2 different datasets and then bind to the datagrid? I tried doing that but it's merging all the data. Do i have a way out to exclude some of the data? I am skeptical as I …

0
55
Member Avatar for rmlopes

Hello all, Before anything else, this issue is also posted at: [url]http://www.cplusplus.com/forum/general/7518/[/url] I have a structure similar to the one below.I miss a lot of information about the specific template parameters, so I would need something like what is in the code. This code does not compile because we cannot …

Member Avatar for rmlopes
0
151
Member Avatar for retrob89

Ok...so I have a project due in 3 weeks and I haven't started. If i don't get it done I won't be able to graduate...the problem is i don't get java AT ALL...if anyone is willing to help me out with parts of the project..i would deeply appreciate it. I'm …

Member Avatar for crunchie
0
100
Member Avatar for CPPRULZ

So when two objects are declared say class shoe shoe1 and class shoe shoe_copy and then shoe1's variables are set, if the line of code: shoe_copy=shoe1; what would that be doing? After all what is the real data structure of the objects of class shoe?

Member Avatar for MMahmoud
0
149
Member Avatar for fastmichaels

Hello people I'm new here (And new to web develepment) and hope to stay for a wile if you let me ;) I am trying to construct a WHERE clause on a grid view of a database table I have on a website I am creating in vwd 2005 express, …

0
67
Member Avatar for bclark8923

For a class project we are to implement four types of sorts that they give us, and for the most part i have that working, but i wanted to know what would be a good data structure to use? Atm im just making an array, if it fills up, i …

Member Avatar for h3xc0de
0
105
Member Avatar for gajubhai

I am facing strange problem. I have gridview on page with edit button (Added by setting 'allow edit' property true and also checked the check box for 'UPDATE, INSERT query' while configuring data source). Whenever I click edit button, It allows me to edit the values bt When I try …

Member Avatar for KushKashyap
0
79
Member Avatar for seanl1

Alright guys, I'm in a Data Structures I class which is proving to be impossible at some junctures. I suppose it's a right of passage to earn the degree. I know how mergesort works on Arrays, but our professor has purposely used the linked list data structure to up the …

Member Avatar for seanl1
0
286
Member Avatar for gshock2006

Right now, I want to handle data file in the following format: apple 1234 coke 2344 some grape 2345 null .... as some lines consist of 3 element while some other have 2,I want to use the expression as follows to get the first two elements in every line and …

Member Avatar for gshock2006
0
112
Member Avatar for gaspan

To all the Masters, Sir can you help me in this problem, the program tells the infix to convert into postfix. ex. a+b-b*c+g/s =[U]ab+bc*-gs/+[/U] My problem is, once you compile the program there is no error message, but if you run it, the output did not show. I know this …

Member Avatar for Salem
0
168
Member Avatar for jchandramouli

Hi, Check the following description of my requirement. (This is in MS SQL 2005.) 1. Select a table in your DB. 2. Alt+F1 lists the structure and the details of the table. 3. In that, i could see a. Table Name and Owner b. Columns , data type , size …

0
61
Member Avatar for OWL76

Hey guys, complete noob, been trying to figure out how to wrap my head around cffile for a couple of weeks now. I can get a file to upload to the server, even change the name once saved. But i am having problems entering the data into my database.any help …

Member Avatar for danarashad
0
146
Member Avatar for robertmacedonia

Hello, I would like to ask is there any class connected with the Tree data structure in the Java Api, since I couldn't find one. I'm just starting to study the Binary Search Trees, the Heap data structure etc. As far as I could see until now, I will have …

Member Avatar for robertmacedonia
0
99
Member Avatar for maddy05

this is a project made by me but its issue function is not working well instead of modifying and changing the value of issue to 2 it is adding another book with issue 2 in the file can some one correct it // **library management** // // **library members can …

Member Avatar for Murtan
0
246
Member Avatar for kpillsb39

I have a program for advanced VB in which we are to create a Struct of account records that are in a Text file and close the text file after opening and read the file in to the form window from the Struct and be able to edit the data …

Member Avatar for edgar5
0
157
Member Avatar for guest_user

We have a Log table which logs the events of a request. When any error event occurs, I need a query to see the row with errorevent and the previous row to this row which contains the actual data which caused the error. Here is the table structure: LOGID (int), …

Member Avatar for pclfw
0
142
Member Avatar for jsosnowski

I am trying to use a clientdataset without an associated Table. I am attempting to extract and edit data from a Cad program. The Cad program has an interface in which the user selects specific entities within the Cad file (lines, circles, text etc) and provides basic information and attributes …

Member Avatar for mcrosman
0
924
Member Avatar for maddogsprofiles

Can someone help me with this database, code bellow [CODE]-- -- Table structure for table `bapps` -- CREATE TABLE `bapps` ( `bappID` int(11) NOT NULL auto_increment, `bappFROM` int(11) NOT NULL default '0', `bappBUSINESS` int(11) NOT NULL default '0', `bappTEXT` varchar(255) NOT NULL default '', PRIMARY KEY (`bappID`) ) ENGINE=MyISAM AUTO_INCREMENT=51 …

Member Avatar for maddogsprofiles
0
215
Member Avatar for rzeta

I need to help in the project I mention below: The project involves the simulation of a cockroach jumping pathway that accidentally dropped from the aspirator unit onto the center of a hot plate of a hamburger parlor. Due to hot plate temperature (220oC) the bug jumps randomly anywhere being …

Member Avatar for BestJewSinceJC
0
69
Member Avatar for abhishek2301

Hello, I have a BinaryHeap class that uses template <class Comparable> as follows: [code] template <class Comparable> class BinaryHeap { public: explicit BinaryHeap (int capacity = 0) const Comparable & findMin( ) const; ......................................................... private: int currentSize; vector<Comparable> array; ........................................................ }; template <class Comparable> const Comparable & BinaryHeap<Comparable>::findMin( ) const …

Member Avatar for Murtan
0
281
Member Avatar for jugnu

Hi! This is Adnan I have a text file having 10 records. There are 4 fields and each field is delimited by a comma. I need to read data from text file such that when i input suppose Account number then the program fetch the record thru that number and …

Member Avatar for MosaicFuneral
0
113
Member Avatar for saalvi

Write a C++ program that contains a structure named “Account” having four data members 1) Account number 2) Account holder name 3) Account type 4) Account Balance Account type may be Saving, Current, etc. In main function, declare an array of structure “Account” of size 10. Populate this array by …

Member Avatar for death_oclock
0
130
Member Avatar for Rushyo

I took a backup of a database a while ago and I'm having trouble with running it on a new (Windows 2003) server through phpmyadmin 3. Whenever I execute it the resulting tables, fields and data are all converted to lowercase! If I use phpmyadmin to create them it works …

Member Avatar for pritaeas
0
150
Member Avatar for rohanvijay

please do the following data structure program : write a menu driven C program to implement the following set of stack operations using the linked list representation: (a)create stack (b)push (c)pop (d)stack top (e)full (f)empty (g)stack count (h)destroy stack

Member Avatar for ajay.krish123
0
92

The End.