132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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++ | |
Hello, Is any one know how to display a crystl report in C# windows application and bak end is SQL Server 2005 Software Development | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
Hi, Please help me with some idea to create a xsl file to display tree view of any xml as html. Thanks..!!! | |
[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 … | |
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 | |
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 | |
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 | |
A short question: how do you implement a data structure like list using STL ? Software Development c++ data-structure | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
[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++ | |
Both the arrays contain 1750 characters each and the difference needs to be stored in third array. Software Development c++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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 |
The End.