132,726 Archived Topics
Remove Filter ![]() | |
Hey guys, i just wanted to know the codes for ArrayList class methods such as .clear() .add() .size() .isEmpty() etc... Your help will be appreciated! Software Development java | |
Confused on why even though I have this header linked several times: [CODE] #ifndef ASCII_CHAR_NAMES_H #define ASCII_CHAR_NAMES_H extern const unsigned char ASCII_WHITE_SMILEY = 1; //☺ extern const unsigned char ASCII_BLACK_SMILEY = 2; //☻ extern const unsigned char ASCII_BLACK_HEART = 3; extern const unsigned char ASCII_BLACK_DIAMOND = 4; extern const unsigned … Software Development c++ | |
I can't find anything wrong with this document. I am using the xom libraries to parse this doc and they keep giving me an error. If someone could point out my errors that would be great. [CODE] <?xml version = "1.0" encoding = "UTF-8"?> <update version = "0" date = … Software Development xml | |
Hi All I have an XML output that looks similar to the below ... [CODE]<ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[60]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[70]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[INSP A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[INSP ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[80]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[GET F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET FITTING LID]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[90]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[KIT F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[KIT FITTING … | |
As part of an assignment, we have to write a Quicksort algorithm, and then verify it's time complexity. I am trying to time how long it takes to run the quickSort function, but it keeps returning 0. Here is a snippet of the code [CODE] . . #include <time.h> . … | |
Hi... How can i develop a keylogger using java?? The problem is that we should only implement KeyListener interface to a window or frame.. but how can we make use of KeyListener event without windows of frame???? Software Development java | |
Can anyone tell the Difference between [B]Empty String and Null String[/B] Software Development | |
I am fairly new to C++. I work as an intern and I need to pass a pointer to a function. Can someone please help. [CODE]U8 System::check() { Array drives = Array::update(system); ...... ...... check2(drives); ........ } U8 System::check2(Array drives) { Array bad_drives = Array::drives.filter(&new_drives); }[/CODE] If I were to … Software Development c++ | |
trying to finish a code given by sir which was to add the preorder and post order in thr tree but i am getting an error with the preorder so need help. [CODE]public class BinaryTree { BinaryTree left; BinaryTree right; int value; public BinaryTree(int v){ value= v; } public void … Software Development java | |
Hi I'm having a real headache getting the selected row from my datagrid (only one row can be selected at a time). If I use the callback function from clicking on the data grid I can get the selected row no problem [CODE]dgStaffList_CellContentClick(object sender, DataGridViewCellEventArgs e) { int selectedRow = … Software Development | |
iam using datagrid for data entry ,i have added ,add button remove button...but now i want an update button which can update the entries to database from data grid... here is code [CODE]Option Explicit ' couple'o global vars for size trackin' Dim MinHeight As Long Dim MinWidth As Long Private … Software Development visual-basic | |
Hi guys i want create a program that can write to a pdf file and here is the code i used. when i run the program, it compiles well, and runs but the pdf file that is created is not readable/corrupt. i am just wondering whether there is some library … | |
hey.. Ive done a bit of java and im new at C... so forgive the inexperience/noobage here.. I got 2 problems, I want my program to read in 2 fractions and print the product.. and whenever I press enter without entering any value, ie. a null input, I want it … | |
![]() | Hi Folks Is it possible to code a windows GUI application using C? (i.e. not C++) I haven't been able to find an answer on this, trawling thru googlized searches gives me tons of stuff for C++ and C# but not a word about if its even possible with plain … ![]() |
Hi, I ve been searching through the forum to find an answer, but have been unsuccessful. My problem is with an integration of an equation. i want to integrate a function say G(w) over w, from the bounds t to infinity. and further i assume that G(W)= F(w1)xF(w2)xF(w3) where F(wi) … Software Development c | |
Hi frnz, i want to know which is the fastest algorithm for to sort the text file of 1MB , 10MB , 50MB . Thanks in advance Software Development algorithm | |
[B]Hi guys!!... I am just looking for some startup guidance with a program I am supposed to write.. it goes like this ->[/B] A program which compares these three hashing methods: 1) open addressing with linear probing, 2) open addressing with quadratic probing, and 3) separate chaining. Input will come … Software Development c++ | |
I am using a) Linux b) Pthreads I want to write a program, with two pthreads, to cater for two queues of people. People arrive at each queue at a random interval of 1 - 10 seconds. Each time a person arrives, print out the number of people in each … | |
Overview: I am trying to write a program that generates an array of randomly generated integers, and sorts them as the array is being generated. I've just used 7 elements in the following example, as it's easier to check for errors that way. Code: [CODE]#include <iostream> #include <ctime> #include <cstdlib> … Software Development c++ | |
Hey, I know the algorithm for a network router but do not know how to implement in coding.Kindly help me with the coding part. Regards. | |
Hi everybody. I have created an application using vb.net 2008 and for reports Crystal Reports Basic for Visual Studio 2008 but the problem is, when I run the application in another machine away from developing box, I get the Load report failed notice. I don't have any idea on how … Software Development vb.net visual-basic visual-studio | |
Write a program to allow a user to do conversions between two different units of measurement. So the user might type in an amount, and the names of two units of measurement, for example: 5, ounce, gram In this case the program should then print out the number of grams … Software Development file-system | |
i got a type mismatch run time error 13 in the following line of the load event of my form... pls help me [CODE] set rs=db.OpenRecordset("SELECT * FROM STOCK") [/CODE] Software Development visual-basic | |
[CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Configuration; using System.Collections.Specialized; using System.Collections; namespace PNB { public partial class Form1 : Form { int x; int y; string bn = ""; string SingleLine = ""; int[] numbers = {16,19,27,28,45,75,80,100,105,115,121,129,130,147, 150,155,170,180,185,191,197,199,200,212,222,242,247,277, … Software Development pay-per-click | |
Hi! I have big problem..I don't know how to read delimited file line by line. for example: [CODE] my csv file looks like this Michael;Jackson;Beat it; Jay;Kay;Supersonic;Cosmic Girl;Star Child; . . . etc . [/CODE] program has to: take name and put it into texbox1 take last name and put … Software Development c# | |
Hi- Was wondering if I could get help with a shell script I am writing to read in 10 -20 directories from a filesystem and then pause, press any key and then read in another 10 or 20 directories and pause again until I read them all. Here is my … Software Development shell-scripting | |
lately i have did a nice idea , that i have a lot of course programs inside my XML file <?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title>Training Programs</title> <link></link> <description>NA</description> <language>en</language> <copyright>NA</copyright> <lastBuildDate>Wed, 19 Apr 2006 16:26:12 -0800</lastBuildDate> <generator>text</generator> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <item> <title>HR</title> <link>data/feed1/article_1.html</link> <pubDate>Wed, 19 Apr 2006 16:26:12 -0800</pubDate> </item> … | |
I still can't seem to think, syntactically, how to implement this. The logic of the code is in my head, actually, a couple of ways to do it is clear but I'm having trouble in creating a solution for the core part of my game. So far so good, I've … Software Development | |
(Think this is a java problem!!!) When I print a result set of a mysql query it doesn't print the 1st value. I used ResultSet rs = stmt.executeQuery("Select * from names"); while(rs.next()){ textAr.append(rs.getString("name")+"\n"); } This prints the values from index 2.. How can i print all the values.??? thankx in … Software Development java | |
hi.. i am using windows 7 (32 bit) ultimate. where can i get turbo c++ for windows 7?? what should i use for compiling and running c/c++ programming in windows 7 Software Development c++ | |
I'm just wondering how programmers rate their own skills, for instance I haven't been using C# very long, but I do feel I have a good grasp on the language. If I see on a job listing: "* 3+ years C# or Visual Basic.NET " What the heck is 3+ … Software Development visual-basic | |
I have two tables tb_Rnd1 RndId(Pk) RndWood Rndlength RndWindth RndPNo RndConst RndCft Tb_Rnd2 RndId(Fk) RndDate RndName RndTCft RndRCft RndTotalAmt If I click btn_Add Insert Records like this first RndId(Pk) RndWood Rndlength RndWindth RndPNo RndConst RndCft 1 Teakwood 23 12 1 144 X Tb_Rnd2 RndId(Fk) RndDate RndName RndTCft RndRCft RndTotalAmt 1 … | |
I wanted to create a graph of connected nodes (eg- node 1, 2, 3. 1 connected to 2 and 2 connected to 3). How can I do this? I searched and found that JUNG (the Java Universal Network/Graph Framework) can be used to draw such graphs. But I am unable … Software Development java java-netbeans | |
Hi, I have completely documented my project, And when i am creating the dll of my project and giving it to the people, the comments are not visible due to which they are getting problem in performing their tasks. Please give me some solution for it. Thanks in advance!! Software Development | |
Hello, I have got an square image with a point specified by the user(not neccessary to be in the centre). I want my program to draw a line or vector from that point to the boundary of the image. Then, I want to draw the same vector again and again … Software Development c++ | |
Hi, I can not create executable code by using a makefile.How can I generate the executable code.I wrote this lines into my makefile and in the terminal I wrote make but I can not do it.Please help me. myprog : myprog.o mylibrary.o gcc myprog.o mylibrary.o -o myprog myprog.o : myprog.c … Software Development c++ shell-scripting | |
HI all, I have been working on fuzzy logic since some time now and have been developing models using matlab fuzzy logic toolbox. Now however I am trying to work on c# platform. The problem with me is that the no of rules i have is in hundreds and earlier … Software Development algorithm | |
My teacher said that we needed to perform 3 mathematical actions on the chars so it works when I encrypt the textboxes but then it doesn't work when I decrypt them. I think it might be the order of my math operations in the decryption code? For example: I put … | |
Hi all, I must admit I'm rather stumped by this one. I have a program that handles tickets/prizes for a business. Patrons obtain tickets, and then go to turn them in at a counter. An employee counts their tickets, and inputs that number into my program. The program then displays … Software Development assembly visual-basic | |
In the main function, I have one two-dimensional array, A. I need to pass A into a function f, which takes A, may change A. f will also generate another two-dimensional array B based on some operations on A and return A. I know it is about passing pointer passing … Software Development c++ | |
Hello, I am a student and I'm having trouble figuring out why my if statement won't evaluate. I'm not getting any error in my compiler - I'm using Dev-C++ 4.9.9.2 The if statement in question is on line #160 in the code below (full code). You will need the students.txt … Software Development c++ | |
need help with a homework problem and i've been starring at code all day and my brain is fried... any advice or pointers would be greatly appreciated Description of the Problem Write a method minimum3 that returns the smallest of three floating-point numbers. Use the Math.min method to implement minimum3. … | |
Hello, I would like to have a program that solves Gaussian elimination. I need it for reference, I think it would be nice to have a tool like this. Now, I know there are many codes I could use online, but I need a code that formats my equation. Like, … Software Development c++ | |
I have two graphics methods in my program. One for the menu and one for the game. I have previously written all of my code in one graphics with a bunch of nested ifs. Now I am trying to separate the two. Is there a way to call the gameGraphics … Software Development gaming java java-swing | |
The program is suppose to create and account but if the passwords do not match after the 3rd iteration it's suppose to output that its been too many tries and end the program... I can't seem to figure this out any help would be greatly appreciated. [CODE]while 3: print ("Welcome … Software Development python | |
In this program i am trying to find numbers that are multiples of 7,11, or 13, also if the total of the numbers is even or odd also the square root value of each number also if there are any prime numbers in the list [CODE]#include<iostream> #include<iomanip> #include<fstream> #include<cmath> #include<conio.h> … Software Development c++ file-stream | |
Hi, I am trying to create a simple unit converter which reads in the units from a file the file is layout like this: ounce,gram,28.0 pound,ounce,16.0 ... It is read line by line like, 1 ounce is equal to 28 grams. How would i go about comparing what the users … Software Development ![]() | |
Hi, This application does everything but show the circles and rectangles even though visible is set to true. [CODE]package Shapes; import java.awt.*; import javax.swing.*; public class ShapesTest { public static void main (String []args){ String input = JOptionPane.showInputDialog ("Enter 1 to draw rectangles\n" + "Enter 2 to draw ovals" ); … Software Development java java-swing | |
Hi all, I am not sure why this is happening. But I am loading a .csv file and just showing it in a datagrid. However, in the .csv field I have time like 0030 but when is showed in the datagrid it is just 30. Any suggestion? Software Development |
The End.