Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~8K People Reached
Favorite Tags
Member Avatar for eikal

Hello, i'm working on a simple program where i can enter a name and number and it will save it to notepad .txt file. I have everything figured out up until actually saving the text i enter. what code do i use to do this, in the program i have …

Member Avatar for Siva_6
0
1K
Member Avatar for eikal

I'm going to be purchasing a tablet. I develop in android and I am delving into tablet based apps. The tablet i purchase will be used for debugging/testing heavily. Between the two Nexus: http://www.newegg.com/Product/Product.aspx?Item=N82E16834230663 Transformer: http://www.newegg.com/Product/Product.aspx?Item=N82E16834230698 Which would you all reccommend? I figured I'd ask here in hopes some of …

Member Avatar for <M/>
0
51
Member Avatar for eikal

hello, i have made the code below. however, when comparing the two strings they are not equal when in theory i thought they would be. String word="abc"; String d=""; d += "a"; d += "b"; d+= "c"; if(word==d) { System.out.println("IS EQUAL"); } When i just print out string d it …

Member Avatar for eikal
0
245
Member Avatar for eikal

Hello, i have a class "Die" and a class "PairOfDice" pair of dice extends die. i need to instance variables of type die in pairofdice constructor... i think. here are constructors for die and pairofdie.. we learned all of this earlier this semester but apparently i didn't learn it well …

Member Avatar for JamesCherrill
0
149
Member Avatar for JGriffCS

I'm trying to create a class that reads in a set of numbers from a file, stores them in a generic array, and then sorts them using the generic bubbleSort method. I usually write in C++ and the switch from templates to generics hasn't been easy. I'm fairly certain my …

Member Avatar for JamesCherrill
0
692
Member Avatar for eikal

Hi guys, my program im working on ends when it shouldnt..... here's the main method. [code] public static void main(String[] args) { String answer; do { boolean whole=false; boolean whole2=false; Scanner sc = new Scanner(System.in); int one=0, two=0; do { try{ System.out.print("Enter the first whole number: "); one = sc.nextInt(); …

Member Avatar for ztini
0
150
Member Avatar for eikal

Hey for hw i gotta do a program that spits out the perfect squares between 0 and a number entered... well i got it done but it spits out 1 extra number that goes OVER what the person entered... here's my code. [code] public static void main(String[] args) { String …

Member Avatar for ztini
0
114
Member Avatar for eikal

Hey guys, im doing a rock paper scissors program for h/w i got it done but im getting an error and i cant figure out whats wrong. [code] public static void main(String[] args) { int pcpick; int userpick; String userChoice = JOptionPane.showInputDialog("1 Rock, 2 Paper, 3 Scissors"); int choice = …

Member Avatar for eikal
0
180
Member Avatar for eikal

Hi im working on this program im getting a runtime error that says this ArrayIndexoutofbounds exception 0. heres my code [code] import java.util.Scanner; public class MillerCalculateTime { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Enter miles: "); double miles = sc.nextDouble(); System.out.print("Enter Miles per hour: "); …

Member Avatar for naief
0
176
Member Avatar for eikal

Hi, one of my labs were doing is a data gatherer, the user enters their first middle and last name all at once with a space between each. then enters there birth month day and year all at once with space between each. Then it outputs them in in a …

Member Avatar for privinpt
0
109
Member Avatar for didi00

Hi everyone, So OK basically I need to create animated button with three pictures (optional) which will represent the button as active, passive and activated. So the task wasn't very hard until my teacher added another thing: The user to be able to choose which picture to use. So my …

Member Avatar for eikal
0
154
Member Avatar for eikal

Hi i found this site and this guy tries to teach you how to make a chat program. Well i just copied his code in and... th program worked. I can send a message to the server and it sends it back just fine. But i can only send a …

Member Avatar for GeekByChoiCe
-1
57
Member Avatar for eikal

Hi i thought of an idea, making a program that me and my friends could use as an instant messaging thing. Like the user types what they want to say and they send it, then that goes to a server that i would create and the server would send it …

Member Avatar for Luc001
0
95
Member Avatar for eikal

hi i was reading my book and it was teaching me about LINQ and it had me create a form that displayed the all the system processes in a datagridview control. the code they gave me was this [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

0
70
Member Avatar for eikal

Hi, so im having the user pick two separate colors. Now when they pick the 2.... im going to run an event that determines that combination..... for an example if the user picks red and blue the outcome will be +5 points. Now the only way i can think of …

Member Avatar for codeorder
0
107
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
604
Member Avatar for eikal

i was wondering are there mobile versions for programming? like vb.net mobile edition you could program ON your phone stuff like that, do such things exist?

Member Avatar for wiranti
0
61
Member Avatar for eikal

is it possible to make a picturebox the acceptbutton? i tried this in form load [code] Dim picturebox1 As New Button Me.AcceptButton = picturebox1 [/code] is there a way i could do this?

Member Avatar for eikal
0
523
Member Avatar for eikal

Hi, i got a program im working on. it does some calculations using quantity and price in such. heres the calculation module. [code] Private Sub calculations() If AdultsizeRadioButton1.Checked = True Then adulttotaldecimal = quantityinteger * adultpricedecimal * hoursinteger ElseIf ChildsizeRadioButton2.Checked = True Then childtotaldecimal = quantityinteger * childpricedecimal * hoursinteger …

Member Avatar for eikal
0
128
Member Avatar for eikal

Hey guys, i'm just starting in VB and am experimenting with programs. I'm trying to make a simple program that when you type in your name and phone number it displays it in a label. So i have everything good up until getting the info from the box to the …

Member Avatar for eikal
0
2K
Member Avatar for eikal

hi i'm working on a program using all if else statements. I think i've lost myself in all ifs and elses and i need your guys help! It was working fine until i added some new if elses in the middle of the code heres what it looks like [code=java]import …

Member Avatar for stultuske
0
138
Member Avatar for eikal

hi, i just learned how to use the while code and put it in a simple program im working on, i however am stumped on how to use it in a part of it here is a snippet of the program code [code=java]String classname, faction; Scanner inputDevice = new Scanner(System.in); …

Member Avatar for peter_budo
0
124
Member Avatar for eikal

hi, this is a program where you type a name of a class and it gives a brief description, what i want to do is after it gives the description of a class it goes back to the beginning of the script and asks you to enter another one. How …

Member Avatar for verruckt24
0
222
Member Avatar for eikal

hi, i'm making a simple program where it when you type a name of soemthing from a video game it will give you a brief description, i'll be using if and else statements, here is what i have so far. [code=java]import java.util.Scanner; public class WoW { public static void main(String[] …

Member Avatar for eikal
0
83
Member Avatar for eikal

hi, i'm working on a little project i made for myself, i want to create a menu with 4 choices and i want to use an array cause im struggling to understand how write them, now ive started to do it but i've lost myself in the code and don't …

Member Avatar for Zaad
0
73
Member Avatar for eikal

hi i don't have my book with me and i can't remember what is the code for let's say, the console asks "please enter your name" what would be the code for wanting to take what they type and assign a value like name = "whatever they type" [code=java] system.out.println("Please …

Member Avatar for cbarton.a
0
81