2,965 Topics

Member Avatar for
Member Avatar for stephen.teacher

hi all, this is some extra credit from class we sat around cleaning up code today this is what we came up with public boolean equals2(IntTree t2){ return equals2(this.overallRoot, t2.overallRoot); } private Boolean equals2(IntTreeNode r1, IntTreeNode r2){ if(r1 == null || r2 == null){ return r1 == null && r2 …

Member Avatar for stephen.teacher
0
302
Member Avatar for elie.karkafy

how i can compare the data of two datatables ( dt1 , dt2 ) and got the difference in a thrid one dt3 dt1 and dt2 Structure ID Date Time S1 S2 EmpID IN\OUT any help ? thank you

Member Avatar for elie.karkafy
0
355
Member Avatar for hanvyj

A warning: I'm very new to databases! Hopefully this will be a pretty simple question. To simplfy my problem, I have a tree of 'meters' that collect data (Let's say electricity meters). I'd normally structure this with objects in a tree, each with a list or some kind of array …

Member Avatar for hanvyj
0
269
Member Avatar for showman13

This is sort of a generic question... I'm at a point where I need to do some report generation with various data from different tables i.e. commissions earned / transactions processed / etc... I was wondering if anyone happens to know of a script base that could be used for …

Member Avatar for showman13
0
672
Member Avatar for lewashby

I'm going to try and extract the artist and album from the meta data of an mp3 file with python but I need a little help. This is what I get on the tag line when I open an mp3 file in vim: ----> `ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿTAGRooster^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Alice In Chains^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@DIRT^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@1992` This is what …

Member Avatar for JasonHippy
0
247
Member Avatar for shomy

Hello I have final project for java and I didn't know how to do it >< may help me to solve it?! ------------------- Consider the following table about students’ grades for quizzes in class : http://s8.postimg.org/a9sqir7md/Screenshot_2014_05_28_11_26_53.png 2 Write a Java application that calculates the minimum, maximum, and average for each …

Member Avatar for shomy
-1
287
Member Avatar for n3c0

I need to import the xml file into access and I should do the transformations (XML -> XML) and to do that Access calls an XSLT file. Then my source file is as follows, of course I deleted the rows because it was very long, but it should be understood, …

0
109
Member Avatar for happygeek

**How do passwords work?** What a password isn't, or at least really shouldn't be, is some kind of secret word or phrase that is simply compared against a table of usernames in a login database. Such plaintext systems are about as secure as a chocolate padlock on a furnace door. …

Member Avatar for Hiroshe
1
1K
Member Avatar for Moe1981

Hi! Its been a while since i've been here but this place was always good to me before. Well my computer was really slow and 100% usage, i also noticed mysearchdial popup through firefox and i thought it was like an addon so i actually used that it silly me …

Member Avatar for Moe1981
0
948
Member Avatar for phony

|29|error: expected unqualified-id before ‘{’ token| |27|error: new types may not be defined in a return type| |27|note: (perhaps a semicolon is missing after the definition of ‘DynStack<T>::StackNode’)| 46|error: ‘StackNode’ does not name a type| ||In member function ‘DynStack<T>::StackNode DynStack<T>::StackNode(T, DynStack<T>::StackNode*)’:| |40|error: ‘value’ was not declared in this scope| ||In …

Member Avatar for tinstaafl
0
1K
Member Avatar for Geekitygeek

Hi, I have tried googling and searching for this but just find endless information about why software/hardware based encryption is the better option; what I need to know is whether there are any problems using BOTH. We want our offsite backups have to be as secure as possible. We previously …

Member Avatar for Geekitygeek
0
411
Member Avatar for smartguy360

I tried dreamincode but the mods there all seem to be on their periods tonight so i have come here to humbly beg for help. First off let me start by saying I'm a new programmer and I am frustrated and cofused by the class i'm in prg 420. I …

Member Avatar for jwenting
0
394
Member Avatar for samertaha

hi , i am searching for a good tree menu design for products categories to use it in my website , i need it to be flexible so i could style it as needed and also simple so i can target it with my own javascript. thanks again.

Member Avatar for samertaha
0
214
Member Avatar for nadiam

hey guys. so i was thinking of creating this page that has 2 different tables : table1(table1 filled with names that are populated from database but lets not think about that part for now) and table2(empty), table1 rows are clickable and when doubleclick on one row the data in that …

Member Avatar for nadiam
0
349
Member Avatar for hannahaddad

Hello. I'm developping a project about the decision tree in Java. My project idea is about animals, but it's gonna be a big database and i don't have too much time to complete. So my question is: Can anyone help me to found a complete database about animals or about …

Member Avatar for hannahaddad
0
196
Member Avatar for mehul12345

i need help creating an pplication to calculate flooring costs. The application should allow the user to enter the room length and width in metres, and select a type of flooring from a set of radio buttons (see Figure 1). The program should include the costs for the different types …

Member Avatar for iamthwee
0
1K
Member Avatar for dancks

I wrote this test program to test the binary tree for a particular purpose. The intent is to make 2 new tree nodes with new data and destroy the data of the parent data, as its no longer needed (essentially its supposed to imitate "splitting" but my design calls for …

0
151
Member Avatar for amadeus47

This may be a bit more complex situation than someone wants to take on. I am not looking for the simple solution of reinstalling. There is something simple I am overlooking. The system boots to the point of selecting the OS. The only one is Windows 7. Win 7 was …

Member Avatar for Uchmantee
0
4K
Member Avatar for nadiam

hey guys, so im creating a page using php html js etc and what i wanna do is have two tables on that page. the first table is populated by data from database(easy) the second table is tricky for me. in the second table i want to be able to …

0
153
Member Avatar for Shehroze
Member Avatar for Shehroze
0
255
Member Avatar for Auroch

Hello, I have the following problem: Entering coordinates of points on a plain with keyboard (as rows x,y). Analysing this coordinates. Replacing coordinates in vector (point - structure data type). Then calculating distance from the first point to all another points. I've written the code of this problem using arrays …

Member Avatar for Auroch
0
2K
Member Avatar for trantran

I am reading the (otherwise excellent) The C++ Programming Language (4th edition - Hardcover) (Stroustrup) and I cannot understand about 4 pages of it despite a lot of attention to it. It's section 27.4.1 Composing Data Structures starting page 767. After reviewing obviously unsatisfactory alternatives on page 767 for a …

Member Avatar for trantran
0
823
Member Avatar for fadoua_1

Hi, I created a structure Vector and implement some functions to make the new defined type (vector) dynamically allocated and resized (inspired from the C++ implementation of the dynamic arrays : vector). I need to assign a structure to every vector element but I am not sure that I am …

Member Avatar for Ancient Dragon
0
387
Member Avatar for keyboard_me

If you reason with science, technology and Engineering, you will understand that science deals with the study to understand whereas technology devices ways to use those theories and observable techniques, and then with the blueprint set, the engineer builds on the technologist's ideas/technology. Now to the issue at hand, Computer …

Member Avatar for jwenting
0
422
Member Avatar for umairisrar

program that implements an event-driven simulation of a line of customers at a bank.Each customer enters a queue, waits until reaching the front of the queue, performs a transaction with a teller (bank employee), and then leaves the bank. You may assume that the bank has only one queue and …

Member Avatar for Sky Diploma
0
927
Member Avatar for jeevan reddy

I want this structure variable as well as all the structure elements to be used in multiple source(.cpp) files. I did like this and getting did like this and getting following errors. I am using vs2010. Please help me i am a newbie. Error 2 error LNK2001: unresolved external symbol …

Member Avatar for jeevan reddy
0
1K
Member Avatar for gu mi nam

this code was error.please help me fix it include <iostream> include <conio.h> include <algorithm> using namespace std; int a[]={1,5,7,4,9,8}; BST*binary_search_tree; struct BST{ int value; BST* left; BST* right; }; int search_bst(BST* node,int key){ if(node==NULL) return -1; if(key<node->value) return search_bst(node->left,key); if(key>node->value) return search_bst(node->right,key); else return node->value; } void insert_bst(BST* &treeNode,BST* newNode){ …

Member Avatar for gu mi nam
0
399
Member Avatar for fadi.gorie

Hi guys ,I am trying to design online dictionary using php and autosuggest , I need help in putting some code together ,it is about searching multiple table Using autosuggest by ajax ,the first part I found a solution In this forum using UNION the second part I have a …

0
72
Member Avatar for Yogesh_5
0
82
Member Avatar for Kent55

I am making a quiz for my computer science class and the basic concept is that you have 15 keywords and 15 definitions. All need to be randomly displayed and the correct answer has to appear. The user has to match the correct definition to the keyword twice and then …

Member Avatar for Reverend Jim
0
417
Member Avatar for MikeBah

I have been asked to build a group of functions that carry out set theory operations such as intersection and union. The functions below that I must complete are set_intersectWith, set_unionWith, set_minusWith, set_powerset, where: > set_intersectWith = A ∩ B > set_unionWith = A ∪ B > set_minusWith = complement …

Member Avatar for rubberman
0
586
Member Avatar for dan.doca

so i got a class going for making and showing tree elements, i need some help with the following: i need to display the leaves and the height of the tree. here is the code: // ar.cpp #include <iostream> #include <stdlib.h> using namespace std; class nod { public: char inf; …

Member Avatar for dan.doca
0
376
Member Avatar for Krokcy

Hey! So I am having trouble with this [problem](projecteuler.net/problem=18)! Basically you have to find the path that gives the largest sum down this tree: 75 95 64 17 47 82 18 35 87 10 20 04 82 47 65 19 01 23 75 03 34 88 02 77 73 07 …

Member Avatar for Krokcy
1
300
Member Avatar for Simran Kaur

Hi Friends, The general code in my project is as below: In Module: ---------- [code] Structure TopDataType 'UPGRADE_WARNING: Fixed-length string size must fit in the buffer. <VBFixedString(40),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray,SizeConst:=40)> Public TopName() As Char 'TopData.HDName Dim Catagory As Short 'TopData.Catagory Dim Status As Short 'TopData.Status Dim Deleted As Short 'TopData.Deleted 'UPGRADE_WARNING: Fixed-length string …

Member Avatar for taiwoa
0
362
Member Avatar for a.sithick

hello dani, I am using shape sql for datareport without dataenvironment conncetion towards parent-child relation ship table. But doesn't work with error. Because parent fields only accepted in my project. I am attaching my vb 6 project to your kind attention please. Option Explicit Dim con As ADODB.Connection Dim rs …

Member Avatar for a.sithick
0
844
Member Avatar for Patrick_3

Hi, for the life of me, I am unable to get my program to drag/drop to a textbox. Elsewhere in my program i am dragging to a panel just fine however I always get the "drag not allowed" mouse symbol when attempting to drag to my text box. I HAVE …

Member Avatar for Reverend Jim
0
3K
Member Avatar for amzz

I have created a class with few public and private functions to create an sqlite database and related operations.consists of 2 private member variables **A & B**. **Public functions:** to check whether database exists ,if exists open and read data A & B else call the 3 functions from private. …

Member Avatar for amzz
0
861
Member Avatar for Compton11

I had a technical interview last week for a Java Software Engineer position. They asked some pretty basic questions such as: 1) What's the difference between an abstract class and an interface? Which do you use more? 2) How does garbage collection work in Java? 3) What is the difference …

Member Avatar for jwenting
0
321
Member Avatar for bogoreh

hi dear fellow i have tried to add structure array in my program and i had a few issue to add. please can anyone tell me how can i add a structure array in the following program #include <stdio.h> #include <stdlib.h> #include<string.h> #include<conio.h> struct books{ char name[22], book[25],date1[10], date2[10],id[7],bid[7]; } …

Member Avatar for bogoreh
0
282
Member Avatar for Vasthor

http://s11.postimg.org/kxl3cemw3/error.png this is the least error that I can get from multiple time of debugging. [TheCodeFile](http://www.fast-files.com/getfile.aspx?file=70535) StrBlob.h has needed to use something from StrBlobPtr.h and StrBlobPtr.h needed to use something from StrBlob.h I did tried to #include each file on each other respectively, but ofcourse that would be a data …

Member Avatar for Vasthor
0
389
Member Avatar for fx.eko

how to create a report with data from duatabase on the same server or different servers, using SQL Server 2000, using the **crystal report 8.5** or **data report of VB6 ** For example I have table A and table B with the same table structure, table A is stored in …

Member Avatar for fx.eko
0
296
Member Avatar for vishal anand.s

hi my name is vishal for past 5 days i have been nuts of how to combine data from multiple tables into single table using sql select query (join query) Given below i have tried solution but i get error message data not found. But in table i have datas …

0
160
Member Avatar for jeffcogswell

As I spend time in the Daniweb forums, I see some questions that ultimately come down to the issue of manipulating JavaScript data and a user interface on a website. When you build a GUI that lets your user view, add, edit, and delete data, a common approach is to …

Member Avatar for jeffcogswell
6
579
Member Avatar for Shekhawat_1

I have a problem in c, i want to achieve this kind of thing using the code i written below. The input and output should be like this: Input Freq Output Freq 1 0,1,4,2,5,3 add two first (0+1) 0,1,4,2,5,3,1 2 4,2,5,3,1 add min and last (2+1) 0,1,4,2,5,3,1,3 3 4,5,3,3 add …

Member Avatar for Shekhawat_1
0
225
Member Avatar for zekesteer

Hi all, I’ve been given told to convert a standard C++ program into an object-oriented one, using the principals of polymorphism, encapsulation and inheritance. Our lecturer covered all three principals in one 45 minute slot. I’m completely stuck and would be grateful for any help. The standard C++ program accepts …

Member Avatar for Step-hen
0
2K
Member Avatar for CarterLangley

I have got this code from an article on secure login systems. I know basically nothing about php so I would like to know if this is good code to use? Part 1 of 8: Configure Your Server 1. 1 Install a Web Server, PHP and MySQL on your server. …

Member Avatar for kidmizere
0
3K
Member Avatar for Violet_82

Hello guys, I hope you can clarify something for me please. I was looking into carousels, found an excellent one and replicated in my code (for reference this is the one I looked at, it’s really good and easy to understand https://tutsplus.com/lesson/the-obligatory-slider/). Anyway, I have implemented that and I thought …

Member Avatar for Violet_82
1
1K
Member Avatar for Michael_SB

Hello; I got some kind of infection or something last week, which caused my virus software not to update, and finally my computer to totally crash and would not reboot. I successfully recovered my system from an image (it was one level up of messy from actual system restore - …

Member Avatar for JohnKing420
0
942
Member Avatar for happygeek

Apparently it's Data Privacy Day tomorrow (January 28th) which, if you will allow me to quote the [Stay Safe Online](https://www.staysafeonline.org/data-privacy-day/about) website blurb, is an "international effort to empower and educate people to protect their privacy and control their digital footprint". Given the Edward Snowden NSA spying revelations that broke during …

Member Avatar for gerbil
3
672
Member Avatar for zaxo311

So here's my problem I have inner structure inside of client. How can I know while reading from txt file that I'm reading item data or client data for my list? struct item { char item_name[30]; char item_state[30]; float item_price; char item_status[30]; float item_price_if_not; struct item *next; }; struct client …

Member Avatar for zaxo311
0
9K

The End.