132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hermann87

Hello again, another question today... Based on this example : [CODE] public interface A { public boolean booleanA = true; public boolean booleanB = true; public boolean booleanC = true; } public interface B implements A { public boolean booleanA = false; } public class Example implements B { public …

Software Development java
Member Avatar for NormR1
0
80
Member Avatar for Zetlin

Hello everyone, first of all I would like to say that I'm new to java and I'm getting this error while trying to compile a program from a book that I am using to learn the language. Ok so the program is very basic just two classes here is my …

Software Development java
Member Avatar for javaAddict
0
1K
Member Avatar for intelfx

Hi there! I have a task - to compare 2 std::lists without taking elements order into account. That is, lists A-B-C-D and D-C-B-A are equal, but A-B-C-D and A-B-D-E aren't. We start with the following code [CODE] class T { ... public: bool operator= {...} } bool compare_lists(const std::list<T>& list_1, …

Software Development c++
Member Avatar for intelfx
0
3K
Member Avatar for coco86

hi, I wanna to calculate the total in currency format $00.00. But the coding doesnt seems to work . Can u help me ? total = Cstr(total) + Request.Cookies("jumlah")

Software Development visual-basic
Member Avatar for manoshailu
0
83
Member Avatar for awofesof

Dear members I am new to the world of XML and XSL transformation, i hope someone can help me with this XSL transformation for an XML. I am not geting the expected result as described below The following is the XML that I am trying to transform to another XML …

Software Development xml
Member Avatar for awofesof
0
249
Member Avatar for adams161

I use almost every day, [url]http://www.mibbit.com[/url] It's a web client for IRC. It has one real nice feature. when i type, if i misspell a word, it sort of writes a line through the word, and i can right click for spelling suggestions. I think actually it might be my …

Software Development java open-source web-browser
Member Avatar for askkuber
0
159
Member Avatar for dansnyderECE

So, my main goal is to modify a MIPS simulator to display the contents of the register file during run time. I searched around in the simulator's cpp files and this is what I've determined: There is a file called "ThreadContext.h" which contains the lines: [CODE] typedef long ValueGPR; ... …

Software Development c++
Member Avatar for Excizted
0
183
Member Avatar for funfullson

Hi dears. I am playing windows commands with python scripts. for example I did: [CODE] import os print os.system("ipconfig -a") [/CODE] but there is a problem with some commands.for example see this: [CODE] >netsh netsh>dhcp netsh>dhcp>scope 192.168.100.10 [/CODE] after playing the first one script, I have to come back to …

Software Development python
Member Avatar for Beat_Slayer
0
171
Member Avatar for Pokenerd

Hi guys. You've helped me out a lot in the past, for which I am very grateful. Right now however, I am banging my head against the wall, because I simply cannot get my head around drawing simple shapes! The current code results in well... Nothing whatsoever. My form is …

Software Development
Member Avatar for ddanbe
0
348
Member Avatar for Member 785147

Hi, i'm doing a project in Visual C++....in Portuguese....i'm hoping you can help figure out the problem eventhough it's not in english... here is the whole code....incomplete in the int main and it's missing some functions but i wanted to solve this errors before i keep going CNoFila.h: [CODE]include <iostream> …

Software Development c++ visual-studio
Member Avatar for Member 785147
0
224
Member Avatar for daniiii

Hi guys, First, many thanks for reading my post, happy to have found you! I have data(objects) that is stored in a hashmap, my goal is to store this data in a JTable, using a separate cell for each entry, rather than starting on a new column each time. I …

Software Development java
Member Avatar for daniiii
0
182
Member Avatar for NewOrder

[CODE]import java.io.*; class Dictionary { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter the next number"); String input; input=console.readLine(); String[] Hebrew={"ehad", "shnaiim","shalosh","arba","hamesh","shesh","sheva","shmone","tesha","eser"}; String[] English={"one", "two","three","four","five","six","seven","eight","nine","ten"}; for(int x=0;x<Hebrew.length;x++) { if(input.equals(Hebrew[x])) { System.out.println(English[x]); } } } { while(!input.equals("enough") ) //i want to make a condition that if the program doesnt …

Software Development java
Member Avatar for NormR1
0
132
Member Avatar for Anyzen

Hello... In strings i learned how to sort about numbers... the question is, how does one sort letters? there are some sort in alphabet here in Daniweb but i cant understand its process is Letter A > than Z? is the computer using ascii values? isn't A(65)< Z(90)? if in …

Software Development c++
Member Avatar for jonsca
0
92
Member Avatar for virusisfound

Hello, Is any one know how to display a crystl report in C# windows application and bak end is SQL Server 2005

Software Development
Member Avatar for virusisfound
0
120
Member Avatar for princesssuperst

Hello, Im trying to read a CSV into a 2d array, where the rows of CSV are the rows of the array, and the columns are defined by the separating commas in the file. It will be a rectangular array. any help would be ace! thankys

Software Development
Member Avatar for Member 785500
0
2K
Member Avatar for virusisfound

hello, Can u tell me how can i use try...catch in following coding. This code is for save the data. 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.SqlClient; namespace savita { public partial class Form5 : Form { DataTable dt; …

Software Development
Member Avatar for pritesh2010
0
108
Member Avatar for pepsoft239

Hi All I have a requirement to develop a VB application to download a pdf file from a server using an example URL [url]http://xxxxxxxxxxxxx/pdffiles/yyyyy.pdf[/url]. I need to perform a silent download and print the same to the local printer. As this is going to be a scheduled task, I need …

Software Development pdf printer visual-basic
Member Avatar for meilbeck
0
3K
Member Avatar for ghostin

I am attempting to create script that sends info and login/logoff timestamps to a text file. Can anyone assist with showing me how to get it to output the duration between login and logoff? AT the moment the script creates a separate line for each login and logoff. I can't …

Software Development vb.net
Member Avatar for G_Waddell
0
425
Member Avatar for BLKelsey

Hi all, I'm in a C++ course right now and I'm having a bit of trouble getting my virtual function to work correctly. Specifically, trouble with the 2 pointers I have for 2 separate menu displays for my Hangman game. I have 3 *.h and 3 *.cpp files and the …

Software Development c++
Member Avatar for mitrmkar
0
135
Member Avatar for virusisfound

Hi, I want translate my label name at run time in other language like Marathi or spanish etc But the changes must be done at run time. Is It possible If yes please tell me the procedure What task i have to perform to do this. I dont have any …

Software Development
Member Avatar for Ketsuekiame
0
161
Member Avatar for shilpajmensi

Hi, Please help me with some idea to create a xsl file to display tree view of any xml as html. Thanks..!!!

Software Development html-css xml
Member Avatar for shilpajmensi
0
157
Member Avatar for lewashby

[CODE]# create GUI app = Tk() app.title("Head-Ex Deliveries") # create a label Label(app, text = "Depot:").pack() # add to Tk app window # create a text entry depot = Entry(app) depot.pack()[/CODE] I understand and have been told that placing the instance name(app) as a parameter of Tk methods and other …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
278
Member Avatar for kiranbvsn

Hi, I've 2 queries 1. how to validate a datarow which is not empty and also there were no values in it (something like when we created a new datarow and added to a gridview -- how to valdate it existence) Note: In my project i showing the emptygrid when …

Software Development display
Member Avatar for kiranbvsn
0
101
Member Avatar for Member 784790

I m working on a project. And in it i get problem for pattern matching.I have ipv4 ip address for ex " 127.3.0.1* ".I have to generate regular exp for pattern matching in Java.Can you guide me what can be its regular exp. thanks, preeti

Software Development java
Member Avatar for peter_budo
0
101
Member Avatar for WildBamaBoy

In the code below I have a class that handles what folder the user is in, so they can browse through multiple folders. I know that this isn't going to work right just yet. This is the first time I've tried using classes and I don't understand them so well. …

Software Development python
Member Avatar for WildBamaBoy
0
113
Member Avatar for vbx_wx

A short question: how do you implement a data structure like list using STL ?

Software Development c++ data-structure
Member Avatar for Nick Evan
0
41
Member Avatar for skyir

Hellp My Code Error [CODE]; R1=SECOND R2=MINUTE R3=HOUR ORG 00H JMP MAIN ORG 03H JMP INT_1 ORG 13H JMP INT_2 ORG 30H MAIN: MOV IE,#85H SETB TCON.0 SETB TCON.2 MOV R1,#00H MOV R2,#00H MOV R3,#00H ;******** DELAY FOR 1 SECOND **************** DELAY PROC FAR START: MOV TMOD,#01H MOV R0,#16 NEW: …

Software Development assembly
Member Avatar for Goalatio
0
185
Member Avatar for Member 785339

Hi As i m new to Daniweb so First of all regards to all experts. In spite of this that i have used interfaces and abstract classes. I am still not very sure as to where to use them and why to use them. I will be really thankful if …

Software Development
Member Avatar for Lusiphur
0
94
Member Avatar for kurtzky

Hey guys. I have a question. In my program, I'm calling a Process (Internet Explorer) on button click, but I want to customize the size of the IE window being opened to something like 800 x 600 pixels. Do you know how do it? Below is my base code. [CODE]Process …

Software Development api c#
Member Avatar for Lusiphur
0
3K
Member Avatar for monjuri

Hello, I am trying to use openoffice myThes code. This code is written in C and now I need that code in python. I have used swig tool to convert the c code in python. The python code has been produced. but problem is the c main function takes a …

Software Development python
Member Avatar for monjuri
0
263
Member Avatar for maira74

HEre is my C++ program I made.... first I will put the directions and then the program. I cant seem to compile it for some reason so can anyone tell me what I did wrong please!! Write a C++ program that does the following. Besides #include <iostream>, you will need …

Software Development c++
Member Avatar for NP-complete
0
238
Member Avatar for ChaseRLewis

[CODE] #include <iostream> #include <string> using namespace std; int main() { string character; cout << "capacity: " <<character.capacity() << endl << "Input a sequence: \n"; getline(cin,character); string reversestring; int counter = 0; for(int i = character.length() - 1; i >= 0; i--) { reversestring[counter++] = character[i]; } cout << reversestring; …

Software Development c++
Member Avatar for ChaseRLewis
0
169
Member Avatar for HAIDER69

Both the arrays contain 1750 characters each and the difference needs to be stored in third array.

Software Development c++
Member Avatar for HAIDER69
0
3K
Member Avatar for arch_mah

I want to insert number for City_Id and City_name , i wrote a query for auto generate number for City_Id,working fine but in the city name i want to avoid inserting duplicate value like if Mumbai is a City ihave already saved then system should not allow that name again. …

Software Development vb.net
Member Avatar for arch_mah
0
103
Member Avatar for Rocky111

Hi, I am trying to solve a problem. But when I execute it, it is just like halt and not further processing...... Here is my program function [code] void utility() // Calculate the utility for users for both period Fun5 { double x,y,z,utility1,utility2; double delaycost = 10; ifstream inFile3,inFile4,inFile5,inFile6; ofstream …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
150
Member Avatar for prem2

Hi Daniweb team, I need to understand newinstance in java.I do no how to implement it and i tried this program but getting some errors. 1.Can anyone tell me how to use new Instance and what mistakes i have made in this program.? [code] import java.io.*; public class sample { …

Software Development java
Member Avatar for prem2
0
102
Member Avatar for echellwig

Hi, I am trying to interface between Java and Python in a program called Eclipse. Any insight on how to do this would be helpful. Thanks! Elise

Software Development ide java python user-interface
Member Avatar for jcao219
0
118
Member Avatar for Member 784510

Hi Friends, I have a strange problem and I need your support to get this resolved. Recently I have created a setup and deployment project for my VB.NET application. In that seup project unknowingly I changed the command section to .exe. Now after Installing the application in my pc, whatever …

Software Development vb.net
Member Avatar for Member 784510
0
111
Member Avatar for pinsickle

In reguards to the remove function, what happens if you remove and item from the middle of this list? For example, say the list size was 5 (elements 0 - 4) and element 3 was removed. Would element 3 now contain a null value or would everything past element 3 …

Software Development java linked-list
Member Avatar for pinsickle
0
126
Member Avatar for mebob

Hi, I wrote a function as part of a homework assignment, but all it seems to be outputting is 1.#QNAN (I know what this is, I just can't find the cause of it). Here is the function: [CODE] double length ( const int a[], int size ) { double length …

Software Development c++
Member Avatar for mebob
0
111
Member Avatar for sisterjo

I am getting the following errors on my code below. Any help would be appreciated. 69 expected primary-expression before '>>' token 71 `next' undeclared (first use this function) 86`Total' undeclared (first use this function) 86 expected `;' before "Gross" #include <iostream> #include <iomanip> #include <string> #include <fstream> #include <cstdlib> using …

Software Development c c# c++ ios
Member Avatar for mrnutty
0
187
Member Avatar for midget66

I am working on a program in c and I am trying to declare a ten element array, using a for loop to insert the elements. I am also using a second for loop to acquire the sum of all the elements in the array. I'm new to programming so …

Software Development c mathematics
Member Avatar for midget66
0
94
Member Avatar for bbman

Say for example I have: [CODE] List<string> itemset1 = new List<string>(); List<string> itemset2 = new List<string>(); // Linkedlist itemsetcurrent [/CODE] Which is declared outside the functions, and must be accessible from all the functions. Now, I have a code like this: [CODE] private void SetList(List<string> list) { itemsetcurrent = list …

Software Development linked-list
Member Avatar for vdeych
0
180
Member Avatar for Member 784361

hello guys i need your help , i am new in c language and i need to know if i can use c langiage to open images , i asked my programming teacher and he said i can not but i think it is possible so please if it is …

Software Development c
Member Avatar for Ancient Dragon
0
152
Member Avatar for parijat24

hi , my problem isthat i have two file s with this format file 1 has two coloumns protein id geneid qqqq yyyy tttt pppp oooo llll now i have one other file as cluster file as cluster 1 : yyyy,pppp cluster 2 : llll, yyyy, . . . . …

Software Development python
Member Avatar for Beat_Slayer
0
92
Member Avatar for Brandon515

ok what i'm trying to do is make a pong game in an applet. here's my code: [CODE]//<applet code = Pong width = 800 height = 600></applet> import javax.swing.*; import java.awt.event.*; import java.awt.*; import com.bruceeckel.swing.*; public class Pong extends JApplet implements KeyListener { int px1 = 770, px2 = 20, …

Software Development java java-swing
Member Avatar for NormR1
0
108
Member Avatar for duuude

Hi, i'm new here and this is my first tread. I'm a computer student and trying to gain usefull that may be valuable latter on, so... Is there anyway to make a counter in c++? I've been looking and i've found none yet(similar but no what i want). What i …

Software Development c++
Member Avatar for jonsca
0
208
Member Avatar for Member 785010

Hi, everyone! I'm new to python, and I'm having a few issues getting started with writing useful code on mac OSX. I'm wanting to import a module, either wx or pygtk for GUI, but in either case I get the error that there is no such module. As far as …

Software Development gui python
Member Avatar for Beat_Slayer
0
148
Member Avatar for p@rse

Hey guys I was wondering, I like to try to improve my skills by seeking formulas and programming them into code, like currency formulas BMI formulas time formulas, hell even speed of light formulas, do you guys know any sites that have a list of formulas to program for kits …

Software Development c++
Member Avatar for Aranarth
0
70
Member Avatar for Lanaaa

Hi, I'm kinda new to the c# programming and I have an assignment to make a simple app for accounting. So, I made a DB in visual studio, made a new project that is connected to that DB. Table B has a column 'FK_TableA'. On a form I have put …

Software Development open-source visual-studio
Member Avatar for Lanaaa
0
104

The End.