132,728 Archived Topics
Remove Filter ![]() | |
import java.util.*; class Customers { private String name; private int accountno; private String status; private String type; private int currbal; private String Login; private int Pin; public Customers() { this.name = " "; this.accountno = accountno; this.currbal = currbal; } public Customers( String name1, int A, int Bal) { name … Software Development java | |
Dear All, To be brief, have drag and drop leading into a pdf to jpg converter. It was working, now stopped. My thoughts are either; 1) something stuck in computer memory I can not erase (it is calling a pdf with more that allotted pages) 2) I may have a … | |
At work I am taking on some development stuff on the beaglebone black and I have to learn Python. I've had a blast so far!! So I'm trying to understand what some of the code is doing. I have a sample script that opens a port and listens for connections … Software Development python | |
Hi, i'm learning file creating and reading and i ran into a problem when i create a file with input using a loop i end up with an extra line at the end of the file and when reading the file i always get the last line repeated twice the … Software Development c++ | |
Hello, My name is Steven and I am studying for the OCA-JP-SE7 (1Z0-803) exam and I am using Enthuware Test Studio for practice questions. I came across a question that has to do with the arraycopy method and am having some trouble understanding exactly what is happening. Here is the … | |
Hello All, I want to write a c++ code to sort a queue with the help of another queue and a non array element. Please help me getting the code. | |
hi all, i want to create a full duplex voice communication system that transfer voice in a LAN network i will be greatful for any help that you could provide since i do not know how java deal with voice and how it convert it from analog to digital thanxs … Software Development java | |
Hello, this is my first post in this forum. I recently decided to try my hand at programming with python. I'm completely new to programming so I thought I should try some simple projects to reinforce what I've learned so far. I saw a post from 3 years ago on … Software Development python | |
Dear, All Viewers I need your help guys I need to convert the python Asterisk Gateway Interface (AGI) PHP or Java or Perl Asterisk Gateway Interface (AGI), Please if anyone know about it help me ASAP, I wait for your feedback guys. Thanks here is Code... asterisk.py code is below: … | |
i need help as soon as possible help me convert this to c program #include <iostream> #include <iomanip> using namespace std; int main() { //declare variables int totalCals = 0; int fatGrams = 0; int fatCals = 0; double fatPercent = 0.0; //enter input items cout << "Total calories: "; … Software Development c++ | |
Hey, I need to compile and link two C files together...what should i do to the files in order to be able to compile them as the following: [Code] gcc file1.c main.c [/Code] and then run using ./a.out... Can anyone tell me the steps please...thank you.. Software Development c | |
hello i have a program that was due, but i submitted what i can. however, i have a chance still at making the program fully functional, and so i need to submit it fast before its graded. i already have the program, and its running, but i just have a … Software Development c++ | |
I have an array which holds survey results. I am wanting to put the survey results onto a windows form and place the question in a label and the corresponding answer in a text box. I am housing my questions in a List<string> array and my answers in a List<string> … Software Development | |
I create a thread within the main form load event of the application and initialize it with a method then start this thread and there is no problem till this point the problem is that when I click on any button on the main form to open another form lets … Software Development | |
Hi! I'm new into C programming and Arduino. I'm trying to display some data on several 7LED Digit Displays but I get this error and I don't know why. This is my code: int iasDigits[] = {0, 1, 2}; void sendToDisplay(unsigned int device, int digits, char value, unsigned int valueLength){ … Software Development c | |
hello,I tried to apply mean filter to the image to remove the noise from the image but when i execute the programme the image that i remove the noise from it does not upload on the picturebox2 and this is the code that i used ,please help me. Private Sub … Software Development vb.net | |
//Hi all,can you please explain why using this-> in this code is optional,that is the purpose? //Code can work with not this-> too. CTime_24 operator+(int seconds); CTime_24 CTime_24 :: operator+(int seconds) { CTime_24 temp; temp.m_Seconds = this->m_Seconds + seconds; temp.m_Minutes = this->m_Minutes + temp.m_Seconds / 60; temp.m_Seconds %= 60; temp.m_Hours … Software Development c++ | |
Please help in understanding the requirements. This is how I understand it, first, from standard input (I'm will need to use Scanner) read in 100 integers. 2nd, put all the 100 integers in a file (using printwriter in my case) 3rd, use that file to catch the exceptions (ArrayIndexOutOfBoundsException) Write … | |
I need to create A program That makes a 12x10 Array Grid Filled With Random Numbers From 0-99. Then I need To Allow The User To Input A Number Between 0-99 And Then The program will then search through the array and count how many of the users number there … Software Development c++ | |
Hi, I'd like to be able to retrieve the available drives on a local machine using DriveInfo and place that data into a control so that the user can select a drive to work on. Can anyone please suggest a good control to use and some suitable code? Thanks David | |
I am trying to figure out how to write the code to change the number grade to a letter grade then count the letter grades and show how many of each letter in a list box. I need someone to explain this to me and explain what I am doing … Software Development vb.net | |
Hello everybody ! Happy Diwali and Happy new year I report my problem as under : I have a problem to extract data from XML file.My XML file is small ,limited to 5 to 10 lines. I want to use XML file as a arranged (readable and printable) text file. … Software Development xml | |
My program is supposed to replace all sets of 4 spaces with a tab but it only seems to be editing the first line then skipping the rest of the lines. "work_string" is defined via another function which takes and saves an entire files input into one string. I just … Software Development python | |
Hey everyone, I;ve implemented SSL to my server using [this guide](https://blogs.oracle.com/lmalventosa/entry/using_the_ssl_tls_based) now when I connect the server it takes some time to initialize now, I assume its setting up stuff, and then when the client connects takes awhile as well (few seconds), I'd assume it works but I want to … | |
What is the exception that verifies if the input is in the specified sql range? Software Development | |
Error : java.lang.String cannot be converted to String import java.util.*; class String String str; String newstr; void inputString() { Scanner sc = new Scanner(System.in); System.out.println("Enter a string:"); str = sc.nextLine(); } void checkFrequency() { int freq = 0; System.out.println("CHARCTER FREQUENCY"); if(str.isUpperCase) { char []sArray = new String[str.length - 1]; for(int … Software Development java | |
Hello people of the internet. I am currently learning how to program in c++ and I am having trouble with a program. This program is supposed to take in a string and write it out again wtih the ascii ordinance having a plus two i.e a = c or s … Software Development c++ | |
Heya guys, i have been trying to make this very famous ball game using java swing. although the primary code ihave used is from this link [[Click Here](http://www.edu4java.com/en/game/game6.html)](null)but been trying to modify it to make it look less complex..But everytime i run it it gives me following error: Exception in … Software Development java java-swing | |
can someone help me or tell me why I am getting these errors. where I have gone wrong again public static void main(String[] args) { Scanner read = new Scanner (System.in); double taxable_income, income, tax, sum; System.out.println("Please enter taxable income"); taxable_income = read.nextDouble(); System.out.println("Please enter income"); income = read.nextDouble(); if(taxable_income … Software Development java | |
Hi I have developed some selenium scripts with TestNG and i made it as a runnnable jar file, but when i am executing that its giving me the following error as log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.FileAppend. The below is my log4j.properties file. # Root logger option log4j.rootLogger=INFO, file … | |
I have a program to write and keep getting syntax error but can't figure out what is the error, can somehelp me out here, any kind of help with it will be greatly appreciated. here is the program and what I have so far. this is the program: Write a … Software Development java | |
Hi Iam having some problems with this program, I think its minimal but i don't know how to solve it . THIS IS THE PROGRAM=A teacher gives 5 tests, but averages the four highest scores. An average of 90 or better recieves an A, 80-89a grade of B, 70-79 a … Software Development java | |
this is my code i dose not work: ( help me i am create for new user from VB with access) Public Class newuserForm Private Sub btncreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncreate.Click If txtword.Text = "" Or txtid.Text = "" Then MessageBox.Show("Please complete the required fields..", … Software Development microsoft-access open-source visual-basic | |
hi i have a question , my institution uses pascal and cobol programming language for their system but i think its too old and need something new, so they start using vb.net to make a paper form that get information from the data base of the system and put its … Software Development pascal user-interface vb.net | |
in vb if in form1 the user login how to come the form2 that come out information with access Software Development vb.net | |
Hi. I'm learning C++ by myself, so I'm a noob, also i'm a mad scientist :P I'm trying to use a doubly linked list with polymorphism, and got a problem. Here is my code: #include <iostream> #include<string> #include<cstdlib> #include<cstring> #include<sstream> using namespace std; // node class template<typename T> class nodeType … Software Development c++ linked-list | |
My program keeps crashing once I try to make my custom class use some of its own functions My custom class looks like this: Entity.h #ifndef _ENTITIES #define _ENTITIES #include "actual.h" #include "Manager.h" struct Position { float x, y, z; }; class Entity { public: Entity(); ~Entity(); bool Init(Actual*, int); … Software Development c++ | |
I very new to C Shell. I am trying to do is read from Command line. Find the if the file is zip, .txt, symbloic link,pipe, unknow (if file is not zip, txt, sy....) here is what I what got so far. I am very stuck atm Please help me … Software Development c c# c++ shell-scripting | |
Hi guys i have problem in my code when i try to copy image jpg from local disk in any place to network path DOMAIN it give me error the process cannot access the file it using by another process file why this message show and how to solve.the error … Software Development file-system | |
![]() | Hello! I need some help regarding to this post https://www.daniweb.com/software-development/vbnet/threads/159483/adding-item-from-text-box-to-list-box#post747691 When I add a text from textbox1 to listbox1, the textbox1 seems to fill up the whole listbox1 with the said text, the thing is the listbox1 is constantly flashing and the program goes to being not responding. My PC … Software Development vb.net |
Let say I have many many buttons and i want to change all the forecolor of the buttons by clicking on one button. How to do it? I no want type like btn1.forecolor,btn2.forecolor......... because I have more than 20 buttons Software Development vb.net | |
Dim item As String = InputBox("Enter Item ordered", "Place an order") Dim quantity As Integer = InputBox("Enter Quantity odered", "Quantity ordered") Dim price As Integer = InputBox("Enter price", "Price each") Dim item As String = InputBox("Enter Item ordered", "Place an order") Dim WrapCharacter As String WrapCharacter = Chr(13) + Chr(10) … Software Development vb.net | |
Hi, I'm trying to scroll my texture using `sprite.setTextureRect(sf::IntRect(10, y_axis, 800, 600))`. In my update I increment `y_axis++`, but then the image wont show. Heres the structure so far: init(){ if (!starField.loadFromFile("image/starfield.jpg", sf::IntRect(10, 10, 800, 600))){} s_starField.setTexture(starField); y_axis = 0; } update(){ y_axis++; s_starField.setTextureRect(sf::IntRect(10, y_axis, 800, 600)); } render(){ windows->Draw(s_starField); … Software Development c++ | |
there's a problem on Codeforces.com (it's for beginers) which i know it's solution but my code can't be accepted because there's a condition that i don't know how to write in C++ here's the problem: Michael has a problem in his first year of primary school. He can not write … Software Development c++ | |
Effective January 1st of each year, Gabriela receives a 5% raise on her previous year’s salary. She wants a program that calculates and displays the amount of her annual raises for the next three years. The program also should calculate and display her total salary for the three years. Annual … Software Development c++ first-post | |
How can I use seleium test case in groovy? such as clinking on links. test case <html> ... <body> <table> <tr> <td>open</td> <td>https://url.web:8010/</td> </tr> <tr> <td>clickAndWait</td> <td>link=service=homeLink</td> </tr> <tr> <td>clickAndWait</td> <td>link=name=contentLink,service=Queue</td> </tr> <tr> <td>clickAndWait</td> <td>link=BackLink</td> </tr> ... groovy script // Setup credentials def String[] credentials = new String[2] credentials[0] = … Software Development queue shell-scripting | |
void func(void * ptr) { bytearray temp(10); *((bytearray*) ptr ) = temp; } This code is not going ahead if the third line while executing while this coding is working fine. void func(void * ptr) { const char * temp = "decept"; *((char*)ptr) = temp[0]; } Why is it happening? … Software Development c | |
Hi, I know the reply with this is that there is loads of threads on here with similar problems, but I have looked at them and still can not get this to work... Could someone please help me with this problem.. I am converting a Fractal from another langauge into … Software Development c# |
The End.