132,726 Archived Topics
Remove Filter ![]() | |
Okay I am fine tuning my program and would like to have a new JOption Message appear when a particular input is caught and have the exception message thrown. I am trying to get my input to come from my combo box but getting the cannot find symbol message". Am … Software Development java java-swing | |
Hello, I have a text file to read in. It is of the format [CODE] ! this is a comment ! this is another comment 8 3.3 2.2 5.6 6.7 4.4 5.5 4.4 1 3.3 2.3 34.5 5.5 10.3e10 1 3.3 2.3 34.5 5.5 10.3e10 1 3.3 2.3 34.5 5.5 … Software Development c++ | |
does anyone know where I can find some help on integration functions in c++? Software Development c++ | |
hey can some 1 please help me out am new to c++ having multiple errors on this code if you could assist thankx[code]#include<stdio.h> void mainmenu(); void withdrawcash (); void cashtransfer(); void depositcash (); void displaycash(); void normalcash (); void balance (); void username(); //char login[16]=’martin ’; int fcash,famount; int password=12345, … Software Development c++ | |
I'm wondering if someone can help me figure out my getAverageLength method in the following code: [CODE]package com.abc.text; public class StringProcessing { /** * Returns the number of non-null strings in the set. * If null or a zero-length array is passed in, then zero is returned. * If a … | |
I'm having problems with my code all over. I have to be able to open a command line argument( which i know how to do). create a linked list, and print it backwards. This is what i have but im stuck with errors that i don't know how to fix. … Software Development c data-structure linked-list | |
heey I need ur help.. how to convert a string (text content) to base 64 ??what are the steps for writing this program thx.. Software Development assembly | |
Hi, i am making a heap sort program using a struct known as Date, anyhow i am getting an error in two lines that i cant figure out how to solve...[CODE]void dahHeap(Date a[], int i){ int n = sizeof(a); int lefty = 2 * i; int righty = 2 * … Software Development c++ | |
![]() | Hi, I am still new to C# and am working on an annotator: 1. Input some Chinese Text. 2. Click Button. 3. Output some Chinese Text - each word that's found in the dictionary get's a span-html-class around for later implementing it in a website. Here it the code for … Software Development file-system motherboards-cpu-ram |
[CODE] #include<stdio.h> #include<conio.h> void main() { int i[15],n,q,j; clrscr(); printf("Enter the value of N:"); scanf("%d",&n);//an unsigned value printf("\nBinary Val of %d=",n); q=n;//initialize quotient to n for(j=0;j<16;j++) i[j]=0;//initialize binary vector to zero //calculate the binary Equivalent j=15;//store the Remainder in reverse order if(q!=0) { while(q!=1) { if(j>=0) i[j]=q%2; j--; q=q/2; } … Software Development c | |
Hello, My application has a simple textbox for user input, a database connection, a button and a label. I will search for the user input in my database and update the label when the user clicks the button. This works fine on the first button click but ceases to function … Software Development gui | |
hi I want to implement this program correctly about plindrom like ( ara) is plindrom i try to writed code for non-recursivly but i didn't understand method CharAt () IgnorCase() [CODE] import java.util.Scanner; public class Plindrom { public static void main (String[] args) { String str; int left, right; Scanner … Software Development java | |
helloo, I want to make a C# application that reads barcode from a scanner and then I want to know how to translate this barcode to the price of the item. Does any body know? Best regards. Software Development c# | |
Hi I am doing some coding with the WebBrowser element and was wondering if there was a way to create custom error pages i.e. if something goes wrong it navigates to this page instead of the default IE8 one. I did a quick google but got nowhere. If anyone has … Software Development vb.net web-browser | |
I'm trying to create a program on NetBeans that allows me to load an image into an internal frame. Then I can click on the image and a box pops up, basically just like the one on facebook. Im done with the loading and image part. Now, I"m working on … Software Development java java-netbeans | |
I am working on a project and part of the instruction goes like this: "The whole system allows up to 10 processes currently stay in memory, only one of them is running on the CPU, while the others are in either the Ready Queue or blocked in the Disk queue. … Software Development c++ operating-system queue | |
i want to send a private message to particular client by selecting number in comboBox. but had tried to code it but message still end up receive the message at every clients side that connected to server. i want to send the message using the worker socket object stored in … Software Development client-server | |
Hi Guys, i am looking for a little direction on an issue that is poundering on my mind. I want to prevent a form from loading if the systems regional datetime settings format for the date is not in the form of dd/MM/yyyy. any suggestions will be welcome. Software Development vb.net | |
I have a Problem with my Modified Event As you can See ! i know My declarations are Private I tried Some thing still didn't work So what i want to do as you can see is that if the save button was not clicked then it would check if … | |
Hi All, When I am trying to add a device, ibm the Datapower Managementperspective in Eclipse tool getting the below error. Updating version information - Error cause:java.security.NoSuchAlgorithmException:IbmX509 KeyManagerfactory not available Any idea, about this error. We are not getting any clue on this error. We added the certificate to the … Software Development java | |
[CODE]package aster; import java.util.*; public class master{ public static void main(String[] args) { ArrayList<Object> arl=new ArrayList<Object>(); Integer i1=new Integer(10); Integer i2=new Integer(20); Integer i3=new Integer(30); Integer i4=new Integer(40); String s1="tapan"; System.out.println("The content of arraylist is: " + arl); System.out.println("The size of an arraylist is: " + arl.size()); arl.add(i1); arl.add(i2); arl.add(s1); … Software Development java | |
[CODE]import java.io.*; class avlnode { public int data,bf; public avlnode lchild,rchild,parent; } class avl { avlnode root=null; avlnode p=null; avlnode prev=null; public void insert(int ele) { avlnode temp=new avlnode(); temp.data=ele; temp.lchild=null; temp.rchild=null; temp.parent=null; p=new avlnode(); prev=new avlnode(); p=root; if(root==null) { root=temp; } else { while(p!=null) { prev=p; if(p.data>temp.data) { p=p.lchild; … | |
Hi EveryOne, I have some problem in validating duplicate values while saving & updating my records to SQL database. I have following codes: [B]1. Decalaration Code[/B] [CODE] #Region "Declarations" 'Declaration for Navigation Dim inc As Integer Dim maxRows As Integer Dim ds As DataSet = New DataSet Dim dvEmpDesignation As … Software Development dataset open-source sql vb.net | |
Helo Friends, I have 1000s of image files(jpg/png) which I want to get compressed so as to reduce the file size. Quality can be compromised a bit. I want to know, is there any way in java by which I can get the image compressed? I found a code on … | |
hello can anyone help me in learning c#...i really want to learn it and start development using it regards anum zaeii beginner | |
Greeting fellow Humans, I'm trying to "[I]comb merge[/I]" (if any thing as such) bunch of Excel files. There are 2 type of Excel workbook: A & B Both has a column called : [I]Location ID[/I] [U]These are the step I think the prog should do [/U]: Promp user to select … Software Development microsoft-office vb.net visual-basic visual-studio | |
My code is posted below along with it's output of errors. [CODE] #include <iostream> #include <fstream> #include <string> using namespace std; class Node { public: string name; Node* north; Node* south; Node* east; Node* west; }; class MazeConstructor { private: Node nodes[12]; public: Node* ConstructMaze(); }; Node* MazeConstructor::ConstructMaze() { nodes[0] … | |
Hello All i am trying to compile a simple code for the strtok but getting the error as segmentation fault ( core dumped ) .. any help would be appreciated. [CODE] #include <stdio.h> #include <netinet/in.h> #include <stdlib.h> #include <string.h> main() { char *test="asim.nazeer.helo.me"; char *rsl=strtok(test,"."); //while(1) //{ printf("%s",rsl); //} } … Software Development c | |
[CODE]import java.io.*; import java.util.Date; import java.util.Random; class Clock { static long now() // returns the current time in miliseconds { return (new Date()).getTime(); } } class IO { static int readInt() { String input = ""; try { input=(newBufferedReader(newInputStreamReader(System.in))).readLine(); } catch (java.io.IOException e) { System.out.println("Error while reading"); } return Integer.valueOf(input).intValue(); … Software Development java | |
Hi, guys. I am working on vb project, which will save client database. I've done the coding of ADD, NEW, SAVE, EDIT button. Now, I am stuck at DELETE button. When I delete any particular client then I want my client_id (it's a column in my access database) should get … Software Development visual-basic | |
I have to create a dictionary using only capital letters and I need to store the bit value too. The capital letters however are in groupings of 3 and 2 letters (i.e., AA or ZZZ). Now, my code works fine but I would like to neaten it up (because I'm … Software Development python | |
im creating a program that tests the functionality of template classes for my c++ class but i keep getting this error at the overloaded << and >> functions when i try to test the class using a double can someone help me out MyData.h [code] #include<iostream> using namespace std; #include … Software Development c++ | |
I've recently been trying to get only a certain number of tokens into a char array. Here, I'll try to clarify; "Jill went to the grocery market to buy tomatoes while fapping". What I've been trying to do is get the thing she's buying, get what she was doing (i.e. … Software Development c++ | |
Hi, in a given c program where you have [CODE]myvar = sumR(char * arg1, int arg2)[/CODE] sumR is a function in an assembly .s file. I have done all the calculations, but I have no idea how to return the value to the calling c program. Any ideas? Thanks so … Software Development assembly | |
Hi guys I have a standard scoring algorithm but I need to help on a piece of code to only execute the scoring algorithm at certain times. I want it to be triggered by dates, but the problem arises if the program is used after 2 (or more) dates have … | |
Sorry, but I REALLY don't understand what could possibly be wrong with my code (or maybe it's not my code?). When I run the writeChar(char*,char) function, my program crashes. I really don't have any idea why, as my pointers (I think, I've checked, but I'm not very good at that) … Software Development c++ open-source | |
I'm trying to determine the minimum range of floating-point types. It's easy when using values from standard headers: [CODE]#include <stdio.h> #include <float.h> main() { printf("Minimum range of float variable: %e\n", FLT_MIN); printf("Minimum range of double variable: %e\n", DBL_MIN); return 0; } [/CODE] This code gives the following output: Minimum range … Software Development c | |
![]() | hello people is anyone of you able to tell me the heuristic i can choose in order to allow my robot to move from the doo to the issue in a labyrinth ? Software Development c |
The assignment is to complete the implementation of a group of files that create and test a binary search tree. It takes in 2 text files of integers, creates a tree with the first and uses the second to compare to the tree and tell whether of not each integer … Software Development java | |
So here's Wat im trying to do Ive got 2 List boxes 1 Shows Processes other one is for Storage Anyway that's not important Im trying to Kill all the Processes wat are stored in Listbox 2 I had to add .exe at List for Listbox 2 But still not … | |
[B]Hi! [/B] Im new on this forum.. so Hello to all :) Im a beginner in programming WCF.Im a student, on our faculty, we get a new task to make a project in WCF.I hope that you guys could help me a little bit..I dont know how to start.I watched … Software Development visual-studio | |
I can do it with a JLabel or a JButton, but can't figure out how in a JTextField. I thought I had found it (txtLonDay.setHorizontalAlignment(JTextField.CENTER)), but that doesn't work the way I want. I want all text entered in the field to be centered, and also all text that is … ![]() | |
Hello everyone, I am trying to create GUI for a given chat client below but I am having trouble starting it off.... I'm not quite sure if I should create a frame or to extend Applet inside so I can create the GUI if i can get any input it … Software Development client-server gui java | |
Hi Ive currently got a problem with my code, its meant to step through the array and search the array. For some reason it only does the 1st line of array, it wont go through the rest of the array. The problem with that line of code is that it … Software Development | |
Revised Code. I have revised this code so many times that, I don't know what else to do. I posted this code a few days ago and a number of people gave me pointers which I included in my code. But it's still not working. Based on examples I saw … | |
Hi all! I have cascading comboboxes and when I choose the value for the first one everything is fine. But when I try to choose the value for the second combo the value of the first disappears. However, the second combobox is populated with the appropriate values and then I … Software Development vb.net | |
I've developed a software using VB.Net and SQL compact edition database. (.sdf file) Now i want to add my .sdf file to setup file. I've search internet and create setup file. when i install the software, it is created new folders in program files including my database file and exe … Software Development assembly file-system open-source vb.net visual-studio | |
I am trying to find the longest common prefix of two words entered by the user. I don't understand what is going wrong. I keep getting this error when I compile: [CODE]prefix.c:11:13: error: expected declaration specifiers or '...' before '(' token [/CODE] And this is my code: [CODE]#include <stdio.h> #include … Software Development c | |
[CODE]void numToEnglish(unsigned int num, char english[]); main() { char* first20[] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen","nineteen"}; char* tens[] = {"twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"}; printf("Enter an integer between 0 and 999: "); scanf("%s",s1); … Software Development c |
The End.