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

Simple Java Array Out of Bounds Execption Problem

Hello Could someone please tell me why my code is throwing an out of bounds exception -1 please? Write a program that uses an array to store the names of five students. Your program should then print...

View Article


How can I get MSVB on a external hard drive?

I am new to the forum so please excuse the lengthy post. I am taking a programming class and the computers we use in class have Microsoft Visual Basic 2008 Express Edition. On my personal computer I...

View Article


"Constant value button"

Hello! I'm trying to make a simple program using VB8. I'm trying to make a button which will multiple the input from a textbox, with the constant value of 1,8 (X*1,8). And then I'm trying to make the...

View Article

In computer science, does 'log n' automatically imply base 2?

In computer science, does 'log n' automatically imply base 2? I'm asking this silly question because I found myself trying to recall the formula for the height of a complete binary tree, to help answer...

View Article

bullets List collision with meteors List

hi all , so i understandly fully how i use a for loop to run through a list of meteors to check for collision with the player1 but when it comes to wanting to check meteor list collision with bullet...

View Article


How to obtain the IP and host name in client server programming

I have a server, client and protocol class, (similar to Knock Knock) which communicates effectively. I would like the server to display the clientÂ’s IP address and the clientÂ’s host name. However i am...

View Article

How to obtain the IP and host name in client server programming

I have a server, client and protocol class, (similar to Knock Knock) which communicates effectively. I would like the server to display the clientÂ’s IP address and the clientÂ’s host name. However i am...

View Article

BubbleSort random integers in array list question

I was given the following code to use to start my project, the project is to first create an array of random integers from 0-1000 and then sort them from least to greatest. I have created the array of...

View Article


log in ,sign up

nothing error to my code but in my logic i think it is have..look at the picture ...and one more in my sign up when i did not type both to the sign up and i click the button it show successfull login...

View Article


[C] Reading in from a file in command line and outputting line numbers

So I'm trying to read in from a file name I specify in command line and read certain words and output the line number those are on. I think I'm really close, but I'm missing a couple things. Whenever I...

View Article

new column added in dataSet designer not appearing in DisplayMember

(Learning VB) In DataSet Designer I had a DataSet of EmplyeeID , firstName and lastName and added a column FullName to concatenate the first and last names. Now FullName is listed in Data Sources and...

View Article

mapping business entity object to dataobject in data access layer

I'm trying to map the values from the reservation_ business entity object to the entity framework reservation data object. The problem I have is that the values from my res object ain't mapping to the...

View Article

2 instances of a controls - 1 control gets javascript, other does not

I have a user control called "Payment Methods". I have two instance of the control on the same page. <JJ:PaymentMethods ID="paymentMethodsControl" runat="server" /> <JJ:PaymentMethods...

View Article


How to read specific line and column from a file

Hello guys i have a very specific problem. I would like to read a specific line and two specific columns from a file using cbut i have absolutely no idea how to do it. Can you please help me out...??...

View Article

Help with having the program run again

So what this program does is calculate tax by taking in a filing status and income, now I achieved the goal of my assignment but I want to go beyond cause what other way is there to learn. So what I...

View Article


Improve States to unclog my game1 class

I have recently become enthralled with XNA Game Studio 4.0. For a college assignment we made a simple pirate game which functions perfect. However i want to clean up my game1 class and continue to use...

View Article

Reading a key file

i have to read file which is like this.. 23455465 4545464554 44545455 24345555 4546644343 45454555 45646456 5666545456 65768788 need to read it in column wise... i have read the first column...

View Article


Convert boolean true and false to pass and fail

Hello, Is there a way I can convert my boolean values from true to "pass" and false to "fail" Thanks /*3. Write a program that uses a single array to store your exam marks for six subjects. Your...

View Article

Quick Question - Set Multiple Values using a constructor

public Bicycle(int startCadence, int startSpeed, int startGear) { gear = startGear; cadence = startCadence; speed = startSpeed; } Can I use different types of variables UNLIKE above? I want to use an...

View Article

wrap an existing program in a swing gui w/o modifying its code

i have to take a supplied program and add a GUI to it, but I'm not allowed to directly modify it in any way. System.out.println("Enter an integer"); //scanner class Scanner console = new...

View Article
Browsing all 51036 articles
Browse latest View live


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