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

Affine Cipher Decryption

I'm in the process of writing a code that will decrypt text from the user. From researching, I found the decryption code is a^-1(x-b ) . So I tried to implement it that way in my code but with whatever...

View Article


Want to create a file with name provided by user

the Question is : Write a program that reads a String from the keyboard. The program then creates a file named: xx.txt (replace xx with the String that is read from keyboard) How can I create a New...

View Article


Problem with finishing a C++ code.

Here is the problem: I just need help with the underlined and purple part: The C++ Side Restaurant wants you to write a program that simulates a simple cash register. The program should ask the user if...

View Article

Cast from type 'DBNull' to type 'Integer' is not valid

I am working on a legacy application that was built a couple years back....and for some reason one of the pages broke. Now please keep in mind Im not a guru when it comes to ASP.NET. I have a data...

View Article

excessive recrawl of coldfusion dynamic pages

I am a google search appliance (gsa) admin, not a coldfusion programmer so please bear with me. the gsa I admin has conent from multiple state agencies on it who use various methods to publish their...

View Article


WPF Making a listview row change color if value =

I'm attempting to produce a listview that I can use with my dataset that when a column in my dataset has a value of say "complete" will show that specific ROW a different color than the rest of the...

View Article

Hide panels horizontal scroll bar

Hi Guys, this may seem like a striaght forward question for most but im having difficulties hiding the panels horizontial scroll bar. Ok, what im attempting to achieve is: 1. keep horizontal scroll bar...

View Article

Hide panels horizontal scroll bar

Hi Guys, this may seem like a striaght forward question for most but im having difficulties hiding the panels horizontial scroll bar. Ok, what im attempting to achieve is: 1. keep horizontal scroll bar...

View Article


Hide panels horizontal scroll bar

Hi Guys, this may seem like a striaght forward question for most but im having difficulties hiding the panels horizontial scroll bar. Ok, what im attempting to achieve is: 1. keep horizontal scroll bar...

View Article


getting letters to print vertical down an applet task

Can anybody help me out with this problem? i have created an applet that prints out the user input and if the characters J or D are entered a graphical representation of the letters is drawn using fill...

View Article

Backtracking Sudoku Solver

Hello, I created a Sudoku with a working Backtracking solving method, but i want the method to show if the given sudoku can be solved or not. if the sudoku can not be solved it always gets into a loop...

View Article

"missing function header" error

Hey, I am just getting started building programs with multiple modulus/functions. I am having trouble getting the syntax correct. I keeping on getting this error when trying to fun this program. This...

View Article

Creating & Implementing Constructors & Overloaded Operators

Hello; I apologize in advance for the hefty amount of code I'll be posting, but I do believe that it's necessary to see it all in order to understand where I'm coming from. Essentially, this program is...

View Article


Image may be NSFW.
Clik here to view.

Java State Machines, and their Uses

I am having difficulty understanding State Machines, even after looking at Dogstopper's tutorial on them, I am still do not understand them. More specifically, there are some parts of the code in that...

View Article

Payroll Calculator

Can anyone please tell me why my values wont pass through the methods? It keeps printing zero for the output. Don't mind the comments. import java.util.Scanner; public class work { public static void...

View Article


isValid Method for chess

I need help with the isValidMove Method for my pawn piece. How do I code pawns first move of 2 squares then 1 sqaure after that . /** * A player of a chess game. * * @author Zachary Kurmas */ public...

View Article

OCaml: basics

Hi! So this is my first encounter with functional languages, and I have some hard time to get the idea. I have a basic question to " Write a function that repeats a given element the prescribed number...

View Article


JAVA YES-NO REGULAR EXPRESSION

Hi, I tried to change part of my code in the CLI that I was writing. I had this code for the option yes/no to "reset" the CLI and make another operation. } answer = userInput.nextLine(); }...

View Article

Visual Basic 2010 Dice Simulator Help

My assignment is to create a dice simulator program that will roll a pair of dice 100 times and calculate the mean and standard deviation of the rolls. The application should also show a table that...

View Article

quick question about singing out display message

Hi I was wondering what I need to do to add a message you have logged out I have a working setup however I am not sure where to insert that text or how the sntax would be any help is much appreciated...

View Article
Browsing all 51036 articles
Browse latest View live


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