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

Bank Account Gui using composition classes

here is everything I have so far I don't know how to implement these two classes with the array of 10 and get them into the gui fields properly. If anyone can help I would appreciate it I tried asking...

View Article


Image may be NSFW.
Clik here to view.

wrong output to find prime factor of number

what's wrong with this code . here v= any input value. if i input 24 as 'v' then i should get 2,2,3,2 as output, but i am getting 2,3,4 as output. both above are factors of 24 but the one i am getting...

View Article


Decoding multiline reversed base64 string automatically

encoded string in base64 LnNlbHBtYXhlIGVzdSBvdCBlZXJmIGxlZUYgLnNldGlzYmV3IGNpZmZhcnQgaGdpaCBubyBub2l0YXNpbGFtcm9uZWQgZm8gdHBlY25vYyBlaHQgZWJpcmNzZUQgLjQ= ZWxpZiBlbm8gbmkgZWIgdHN1TSApaXYgICAg s =...

View Article

Compare jlabels

Hi anyone knows how I can see if two jlabels have the same ImageIcon?

View Article

Python Running external programs

I have been searching for python docs relating to using python to control external programs read their input and pass them onto other programs. I may be using the wrong search terms due to my lack of...

View Article


A little bit of input about my application

Okay so I have a final project due, and it's not really a beast, but I've begun to wonder if I'm doing everything I'm supposed to do, so I'm going to outline the assignment and give an overview of what...

View Article

How do i generate random numbers that are a valid sudoku board?

I have the board set up, but I dont know how to place random, but also valid numbers in the board. void display_board() { const int SCREEN_NUM_ROW = 20; const char GONE_FILL = 'X'; string...

View Article

Why am I getting this error? (Un)resolved External Symbol

Hello D.I.C.ers. I've encountered this error enough to know that it usually means a static object wasn't defined or initialized but I'm pretty sure I've done that. Here's the file where it keeps...

View Article


Question about invoking toString() method in subclass

Hello. I am writing a program that takes in thirty grades for a class and outputs the mean, median, and mode of the entire class. I am confused about how to output the data using the toString method....

View Article


Image may be NSFW.
Clik here to view.

Java user input?

Hey guys, this is a homework question />/>/>/>/> final private static int testtime = 5000; //Move the left wheel forward and backward private static void RunLeftWheelTest(String s) {...

View Article

Trying to figure out if you can make user input array then display it

Ok so I am wondering if it is possible to display an array that has its variable put in by the user. Its going to ask the user for a number, 10 times so there will be ten numbers in the array. How can...

View Article

Task for a beginner in Java

Hi , Firstly I am at stage 0 in java. Well I have never been into any programming, but it seems like I need a little help to solve a task. I have been given a code and asked to incorporate it to fix an...

View Article

Image may be NSFW.
Clik here to view.

input double and if errors

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package fastfood; import java.util.Scanner; /** * * @author RAZER08 */ public class FastFood { /** *...

View Article


filling two arraylists with random ints without duplicating

Hello I'm trying to randomly generate the hands of two players for the initial deal of a card game. Im using ArrayLists player1Deck and player2Deck to cut 52 cards in half , but I can't seem to figure...

View Article

Create rdlc dynamically

Hello everyone, Is there a way to create rdlc dynamically just like creating a datareport in vb 6.0?

View Article


how to generate barcodes in C#

I need to generate barcodes in my C# program. Can anyone tell me how to generate barcode in C#? If you could provide some material to learn, that would be appreciated.

View Article

Snake Game: I just need to know what these blocks of codes do XD

Hi we're having an upcoming test at school about program tracing and i tried practicing on this code but i'm really confused about what most of the codes do please help? i attatched the file and its...

View Article


Image may be NSFW.
Clik here to view.

confusion in recursion

I am learning about recursion in C so i examine a code in my book. but i have confusion in this recursion code that how break; will execute ? i am wrong i know but factor(v); will execute each time...

View Article

Image may be NSFW.
Clik here to view.

Snake Game: I just need to know what these blocks of codes do XD

Hi we're having an upcoming test at school about program tracing and i tried practicing on this code but i'm really confused about what most of the codes do please help? i attatched the file and its...

View Article

Image may be NSFW.
Clik here to view.

Appending foreign keys in C++ to CSV

Hey guys, I'm having a little trouble appending ID's to the end of a line in my CSV file. At the moment the ID seems to be being placed after the newline character. Is there any way of using seekp() to...

View Article
Browsing all 51036 articles
Browse latest View live


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