Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Possibility of task manager desktop app?

First of all I apologize if this is in the wrong section. Not sure. If it is I will delete and restart in the corrected section. So I am trying to figure out if a desktop application is possible or...

View Article


problem with array

Hello everybody; I have a problem with array in this static method we assume we have a 100 books and their titles (I defined an array of object in the main) and some of them have a same title so we...

View Article


How can I get this Word Guess program to work?

Here is the Assignment: 1. Display a row of dashes to rpresent the word. 2. Prompt the user for a letter guess. 3. If the letter guessed is part of the word, then display that letter in place of the...

View Article

How do I write a if statement to return the difference in an array?

For my method double lastPriceChange() if there are two or more prices in the array, it will return the difference between the last two (previous - last), if there are fewer items in the array then it...

View Article

i have not understound why is not work the buttons

Hi i have a problem with my code , My homework is to make a part time employee and full time and i cant ad them from the windows i make in the array list i believe i have false in my actions in buttons...

View Article


Inventory system Test program help.

Hello all, I am new to the world of Java. I have a homework assignment to build a class that handles an inventory system. It stores an integer of how many items are on hand and their price. The class...

View Article

Command Library

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim command As String command = CStr(TextBox1.Text) If command = "internet" Then Process.Start("chrome.exe") End If...

View Article

HashMap in HashMap not behaving as expected

Hey guys.. can anyone explain to me why this: episodeID.clear(); pst3 = con.prepareStatement("SELECT idEpisode, c00, c01, c03, c04, c05, c13 FROM episode WHERE idShow='" + rs.getInt(1) + "' AND c12='"...

View Article


std::cin input being skipped?

Some input is being skipped and it sets the variable to null or empty or something. Here is the relevant code short int bindedPort; //prompt for the port std::cout<<"What port would you like to...

View Article


Logic Error with keyListener.

I have a problem with a keyListener that's absolutely beyond me as to what the problem is. I'm trying to get basic one-character user input working provided that it doesn't use any special text boxes....

View Article

How to add a dashed (----) Line Every 10 Lines

I made a payroll program and cannot get it to write a dashed line once every 10 data entries. It is supposed to be like the picture below. My program computes the same thing without the dashed line. I...

View Article

Image may be NSFW.
Clik here to view.

java and flickr - problem with inheritance between classes main n sub

Dear all, I have been doing a small program which can help user search general photos by keywords and can retrieve most recent general uploads from Flickr. I created 4 classes: testUserInterface =>...

View Article

How do I auto Generate Pages that includes user submitted info?

Like the title states, I need help with a websites that will have approx. 2 text boxes where users can enter information. Then what needs to happen is a Page needs to be generated that already has a...

View Article


Error in cpp code

I have this code running in my desktop and in online compilers, when I try to submit it in SPOJ, its popping up with SIGSEGV error. Can anyone help me out, why that error occcurs? #include...

View Article

problem on enum

I have three file Book.java,BookRoyalty.java,Enuming.java. Book.java contain enum declared and Enuming.java contain main method when i compile this i get error: D:\java_file>javac Enuming.java...

View Article


Binary tree program

Using the tree program, write a program to input twenty integers into a tree. The program should print out the inorder, preorder and postorder traversals for the tree indicating the LEVEL of each node...

View Article

Binary tree program

Using the tree program, write a program to input twenty integers into a tree. The program should print out the inorder, preorder and postorder traversals for the tree indicating the LEVEL of each node...

View Article


Permutations of string array help

Hi, I'm trying to get all possible combinations of a string array and I've been doing alot of google searches but what I'm finding isn't exactly what I need. Finding alot of samples but most of them...

View Article

MenuStrip Save is not saving the text inside the listbox

I have information in a listbox and when I click save, I am able to select the destination and title of the text file. Once I open the text document it is blank. Here is my code for the MenuStrip Save....

View Article

Triangle & Right Triangle

I have a Triangle class public class Triangle { private int side1, side2, side3; public Triangle(){ side1 = 3; side2 = 4; side3 = 5; } public Triangle(int a, int b, int c){ this(); setSide1(a );...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>