2,965 Topics

Member Avatar for
Member Avatar for java666

Hi, I need help with an assignment for a class I'm taking. The assignment requirements are as follows: 1.Carefully study the class structure in Products.java. Here is Products.java: [CODE]abstract class Product { protected float price; // return the price of a particular product abstract float price(); } class ComputerPart extends …

Member Avatar for java666
0
805
Member Avatar for demigodz24

1. how is c++ structure different from array? 2.how to define syntax,create,use and store data in struct variable?.. 3. how to create an array of structure?.. i need some refenrences or brief answers..tnx...

Member Avatar for vinayakgarg
-1
95
Member Avatar for bluetoot

Hello Good People. I need help with my database script,to an extent i have created all the tables i need...for 5 straight days i cant seem to find the solution to this please read my script below 1. i have a database with 2 tables, the admin andm users_cv tables …

Member Avatar for pritaeas
0
176
Member Avatar for nemcsakbali

Hello everybody! I could really use some advice in c#! I have the following homework in programming, please help me choosing the easiest one( I only have to make one of them) or just tell me some tips on how to start on them. If you have some codes like …

0
55
Member Avatar for ziggystarman

RE: Using C++ MD5 hash for software verification & licence files Hi The last few days I've been searching the net for ideas about building in some sort of software protection/security schema within a development for educational but perhaps more importantly to understand good & bad security coding/practises do's & …

Member Avatar for ziggystarman
0
312
Member Avatar for SpecialForce

I have the following code witch I have modified with help from Ancient Dragon: [CODE]#pragma warning(disable: 4786) #include <io.h> #include <string> #include <vector> #include <list> #include <iostream> using namespace std; // structure to hold a directory and all its filenames. struct FILELIST { string path; vector<string> theList; }; void TransverseDirectory(string …

0
68
Member Avatar for SpecialForce

Hello, I have the following code: [CODE]#pragma warning(disable: 4786) #include <io.h> #include <string> #include <vector> #include <list> #include <iostream> using namespace std; // structure to hold a directory and all its filenames. struct FILELIST { string path; vector<string> theList; }; void TransverseDirectory(string path, list<FILELIST>& theList) { struct _finddatai64_t data; string …

Member Avatar for SpecialForce
0
196
Member Avatar for melek@2011

I have a page that displays all movie of various cat. and i designed it to help people in my community click any old movie want to watch and it will send it through a URL parameter to the view video page. So any movie clicked is filtered on the …

Member Avatar for arrgh
0
321
Member Avatar for starfight

Hi! I have a problem with the following statement: [code] $dbres = mysql_query("SELECT UNIX_TIMESTAMP(`huur`) AS `huur`,huur1,`login`,UNIX_TIMESTAMP(`signup`) AS `signup`,`attack`,`defence`,`clicks`,`attlosses`,`attwins`,`deflosses`,`defwins`,`cash`,`type`,`clan`,'maffiamode',`avaurl` FROM `[users]` WHERE `login`='{$_GET['x']}'"); if($def = mysql_fetch_object($dbres)) { if($def->login == $data->login){ print " <tr><td class=\"mainTxt\">You kicked yourself in the nuts... now what?.</td></tr>\n"; }else if($def->login == $admin1) print " <tr><td class=\"mainTxt\">Do NOT attack …

Member Avatar for chrishea
0
342
Member Avatar for Rahuldg

Hello.. i am facing the problem in dynamic allocation to read the data in structure. here is the code. typedef struct { short int fft; short int diff; }symbol; typedef struct { symbol detail; float RE[]; float IMG[]; }receive; fun() { float a[fft_size],b[fft_size]; //here i am allocating the memory for …

Member Avatar for myk45
0
111
Member Avatar for goldman480

Hi all. can anyone help me correct errors in my code which is not running anymore and i dont really know why. If anyone can notice anything which shouldnt be in the code let me know please. I would really appreciate any sort of help. [QUOTE]Before writing your code you …

Member Avatar for jonsca
0
168
Member Avatar for skarni

Currently I am trying to get a php script I wrote with the help of a programmer friend to work in a content management system page. After countless hours trying to study why the CMS is not working, I've determined that there must be something wrong with my php code. …

0
71
Member Avatar for Don_k

Dear guyz, I am creating a file archiver/extractor(like tar), using POSIX API system calls in C. I have done part of the archiving bit. I would like to know if any one could help me with some C source code(using above) to create [B]a file header for a file in …

Member Avatar for Don_k
0
291
Member Avatar for sharkie002

Vista Home Premium X64 I got a virus that seems to have messed up my OS pretty good. I clean my system regularly using MBAM and Super Anti Spy Ware, and was using Avast AV. But my system got a nasty virus. I currently can't explore my system files without …

Member Avatar for crunchie
0
392
Member Avatar for Castiel1631

I am trying to create an abstract data type for matrices. I have a function matrixInit to dynamically allocate memory for the structure and for the array. matrixCopy copies one matrix into another. there are functions to subtract, add and multiply matrices that return a pointer to memory where the …

Member Avatar for Thaylo
0
1K
Member Avatar for moraira73

Hi There, Could someone have a look through the following HJT log - i'm having terrible problems with some sort of virus - i have tried everything - my laptop will only start in safe mode - it freezes during normal start up. Many thanks Logfile of Trend Micro HijackThis …

Member Avatar for Rik_
0
408
Member Avatar for goldmn480

I’ve been told to convert a standard C++ program into an object-oriented one, using the principals of polymorphism, encapsulation and inheritance. I would appreciate any help // Purpose // A program to demonstrate the application of a simple digital filter // // Overview // A sequence of data items and …

Member Avatar for Kanoisa
0
123
Member Avatar for chaitanya91845

I have an account in Blogger.com and maintain a blog there. I need to display flash on the blog(They are not videos, but small applications like photo gallery etc.) Such applications depend on data from various folders to run properly such as images, thumbnails, javascript files etc. Hence, I primarily …

Member Avatar for chaitanya91845
0
255
Member Avatar for newbieha

Hello,everyone.Im doing the same project as Slash12 source:[url]http://www.daniweb.com/forums/thread331507.html[/url] I thought the data structure I constructed is correct but I don't know how to test it until my search function works. The errors i have now are: TypeError:__init__() takes exactly 3 arguements(1 given) for i in range(len(board)) has no len() TypeError:object …

Member Avatar for richieking
0
252
Member Avatar for modjoe

Ok, so i have an assignment due in 9 hours, its about computing the shortest paths from a vertix input by the user to all other vertices. The adjacency matrix is supplied from a text file, so I have done the following code: (Some of it was given for me …

Member Avatar for daviddoria
0
510
Member Avatar for Iamthecheese

Hello, I'm getting quite flustered with this program and the errors are starting to get harder to debug. This is my tree.java file: [CODE]package TreePkg; import java.io.FileNotFoundException; import java.lang.SecurityException; import java.util.Scanner; import java.util.NoSuchElementException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.Serializable; import java.io.EOFException; class TreeNode<T extends Comparable <T>> …

Member Avatar for JamesCherrill
0
230
Member Avatar for csc101101

Hi, I am using firefox for web browsing, but IE runs in the background and plays audio adverts in the background. Carried out various scans found in different forums and I'm finally here. I have followed the guideline in the sticky, adverts are still running. GMER two cannot be created …

Member Avatar for crunchie
0
368
Member Avatar for JJHT7439

I have a project to do and I'm pretty lost on it. The purpose of the project is to make a game like quoridor, but for this part you only need to have your program ready walls from a file (Walls are given in the format of: (startx, starty)(endx, endy) …

Member Avatar for newbieha
0
606
Member Avatar for Moe1981

Hi First i'd like to thank you for your time and effort in maintaining such an organized page. I know you are all volunteers so i appreciate your help. On to business then. My only problem is that sometimes when i click on a link say in google search, i'm …

Member Avatar for Moe1981
0
376
Member Avatar for Syrne

Hello! (Spelled polymorphism wrong in title, I know... it's late!) Now, I understand the concepts of both just fine, but implementing them is where I really run into trouble; this is especially when I'm given a specific problem to solve by using them (i.e. my current assignment). Okay so here's …

Member Avatar for Syrne
0
250
Member Avatar for aquario20

this is my homework , and i have some code but please can you help me to fixed my homework please.... The purpose of this exercise is to give you practice with abstract data types, namely structrures and arrays of structures. Write a program that simulates a soft drink machine. …

Member Avatar for ravenous
0
103
Member Avatar for halil.burak

I dont know what to do ADDING ELEMENT.first selection in the main menu....pls help me... A cluster is defined as a collection of different elements. A and B, including two sets of integer elements that are required for a program to perform certain procedures on the sets. To do this, …

Member Avatar for halil.burak
0
218
Member Avatar for logicslab

Hi pals, I got a complex Array from the Query. it's Structure is like [quote]Array ( [0] => Array ( [server_name] => anes.admod.net [id] => 1 [server_id] => 1 [description] => nice Anes Server [status] => 0 [max_down_count] => 9 [check_interval] => 15 [fail_recheck] => 6 [log_retain] => 1 [warning] …

Member Avatar for erayfield
0
165
Member Avatar for DFFolken

Hello, I'd appreciate any help I could get on the current problem I am having with my computer. The problem seems a little complex to me, so I will try to explain as best as I can and with as much details to help you guys understand the issue better. …

Member Avatar for crunchie
0
710
Member Avatar for pato wlmc

Well, I know that for this I need a graphic library but which one do you recommend? I'm working on Windows, with VISUAL C++, and I know I can use windows libraries, or something, but there are a few problems with that (Mainly that I don't wanna use them). Also, …

Member Avatar for myk45
0
3K
Member Avatar for aquario20

hi , i have this assignment but i don't know how to find the structured ? the program needs to use the structure that stores the following data: Drink Name Drink Cost Number of Drinks in Machine and we need to create an array of 5 structure with this: Drink …

Member Avatar for daviddoria
-1
74
Member Avatar for TheShyGuy

Hello, I would like to know if you can change the index of a tree view node before and or after its created. If so how. Basically manually assigning each node its offsets through code. Thanks, TheShyGuy

0
144
Member Avatar for lasl0w

Hey all, I'm writing a program that is an address book using an AVL Node structure (which was provided). I defined the [I]contact[/I] class as the ItemType of the data to be inserted in each node. Initially I encountered a Segmentation fault that occured during the assignment from the AVLClass …

Member Avatar for lasl0w
0
993
Member Avatar for WASDted

[ATTACH=RIGHT]18413[/ATTACH]Are all [URL="http://www.hdmi.org/learningcenter/faq.aspx"]HDMI[/URL] cables created equal? Without lab equipment it is difficult to tell the difference between HDMI [or any cables] at short lengths [under 6 feet]. But signals traveling greater distances do degrade and that is a fact. The longer the wire, the greater the resistance and weaker the …

3
829
Member Avatar for kapilsolanki84

i am using devc++ compiler. using c code created the window but its blank . now to write data something on it. like (say)write(create) the output of my own program into that window.in c. guide me pl.[CODE]. in this i have not inserted my own code. this code is used …

Member Avatar for WolfPack
0
217
Member Avatar for newbee3

I'm fairly new to C++. Can someone help me with a problem I'm stuck on? Below is a data file that has 3 fields in each record. I have to read the fields into a structure one record at a time. Any suggestions would be greatly appreciated. amazon.com 9250000 250 …

Member Avatar for C++Challenged
0
237
Member Avatar for Cirrus0007

Can you help with a task bar turned gray, loss of sound-for some time now.I thought it must be hardware but now it seems to be a sneaky little bugger? I picked up the phone the other night-residential- an indian voice telling me I've been infected with a virus. I …

Member Avatar for jholland1964
0
179
Member Avatar for lasl0w

Hey all, I'm doing a project to create an address book which uses a binary search tree (AVL node) structure to store, search and sort the data. There are 14 main fields for each address contact. All fields can be represented as strings. The 14th field can have unlimited entries. …

Member Avatar for mike_2000_17
0
199
Member Avatar for islam-morad

Hello everyone, The questions is below. Please bear with me. I'm a first year student, majoring in computer science. I have just finished an introductory course in the java programming language. I already know that what i type to program in java is a source code that has to be …

Member Avatar for islam-morad
0
134
Member Avatar for hatespy

I found trojans on my computer and already cleaned them up. But I'd like to make sure that they are all gone. Please help. Thanks much in advance. MalwareBytes’ Anti-Malware log Malwarebytes' Anti-Malware 1.46 [url]www.malwarebytes.org[/url] Database version: 5150 Windows 5.1.2600 Service Pack 2 Internet Explorer 7.0.5730.13 11/22/2010 8:09:52 AM mbam-log-2010-11-22 …

Member Avatar for jholland1964
0
461
Member Avatar for skhenry

i am having this problem , i have 8 strings say ( boy,topped,pens,remotes ,boted ,toyed, car,house) but i am looking for 3 strings having substrings ending with a (ed,s,s ) for exapmle topp[COLOR="Red"]ed[/COLOR],pen[COLOR="Red"]s[/COLOR],remote[COLOR="Red"]s[/COLOR] however i have to check by first checking the first string boy and i throw it away …

Member Avatar for skhenry
0
221
Member Avatar for bkoper16

I need help with a program that is supposed to take data on football players from a txt file and place them in a binary search tree then use case statements to t osearch the tree inorder, preorder and postorder recursively here's what i got so far [CODE] /* Bradley …

Member Avatar for Narue
0
202
Member Avatar for atoivan

i want to write a a program that will accept student name and grades and output it.use an array data structure in the implementation this program and implement the following write method that will traverses the array and allow the user to perform the following processes a) search for a …

Member Avatar for atoivan
0
202
Member Avatar for its.romi

im a student of 2nd year BS, doing my BS in Computer Science. Here I want to include a program by me, may be someone will be helped by me :) [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> int* createHashTable(void); void getData(void); void formatting(void); int insertData(int); float chkLoadFactor(int, int); int collision_LinearProbing(int, int,int); int …

Member Avatar for zohaib yousuf
0
299
Member Avatar for atoivan

i want to write a a program that will accept student name and grades and output it.use an array data structure in the implementation this program and implement the following write method that will traverses the array and allow the user to perform the following processes a) search for a …

Member Avatar for JavaDad
0
162
Member Avatar for atoivan

i want to write a a program that will accept student name and grades and output it.use an array data structure in the implementation this program and implement the following write method that will traverses the array and allow the user to perform the following processes a) search for a …

Member Avatar for jonsca
0
222
Member Avatar for pavank75

hi i got one problem to solve am almost did but facing problem for my last for loop iteration can any one help me this is the problem i received University of Newcastle School of Electrical Engineering and Computer Science SENG1110/6110 Programming Assignment 1 – Semester 1, 2010 Due: By …

Member Avatar for jon.kiparsky
0
194
Member Avatar for mbarandao

Hello: I have the following challenge I need assistance with. I have a mysql table [CODE] -- phpMyAdmin SQL Dump -- version 3.3.3 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Dec 01, 2010 at 01:22 PM -- Server version: 5.1.48 -- PHP Version: 5.2.13 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET …

Member Avatar for mbarandao
0
152
Member Avatar for swathys

hi, I would like to load data from sql to datagrid. But there is a problem at highlighted place. [CODE] Sql = "Select [KioskID] As [KioskID], " _ & "[KioskLocation] As [KioskLocation], " _ & "[TransactionNo] As [TransactionNo], " _ & "[SerialNo] As [SerialNo], " _ & "[TransactionDateTime] As [TransactionDateTime], …

Member Avatar for Netcode
0
84
Member Avatar for donut166

Hi guys! my computer has been a little slow these few months, i ran a hijackthis log, can anybody tell me if they're any problems within it? Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 1:17:04 PM, on 11/28/2010 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v8.00 …

Member Avatar for gerbil
0
129

The End.