Search:

Type: Posts; User: coke32

Search: Search took 0.18 seconds.

  1. Replies
    3
    Views
    605

    Re: ArrayList Sorting Problem

    ... I absolutely cannot ... figure out how to sort this ArrayList.. please I'm literally begging.. this is the ONLY thing i can't do its been 4 hours now of searching online/reading and i still can't...
  2. Replies
    3
    Views
    605

    ArrayList Sorting Problem

    Okay, we are just learning how to read in from a file and I'm having trouble with what seems like the easiest part. I need to sort my ArrayList full of objects which are "Shapes" by name first, and...
  3. Replies
    13
    Views
    1,383

    Re: Tic-Tac-Toe Help

    NEW PROBLEM!!!!
    So I've been at this and have been making progress but at the moment I'm running into a problem of generating "unique non duplicate boards". I'll show you my current driver and my...
  4. Replies
    13
    Views
    1,383

    Re: Tic-Tac-Toe Help

    unfortunately I don't know how to debug my programs all that well. We haven't gone over that too much yet. but I have figured out why the x's or o's weren't generating! I never declare what this.size...
  5. Replies
    13
    Views
    1,383

    Re: Tic-Tac-Toe Help

    I'm not sure.. it should be either an 'x' or and 'o' in the output and they should be stacked to look like a tic-tac-toe board. heres my fill method code


    public void fillWithRandomXandO()
    {...
  6. Replies
    13
    Views
    1,383

    Re: Tic-Tac-Toe Help

    import java.util.Scanner;
    public class TTTDriver {

    public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int size;
    int numberOfBoards;
    int...
  7. Replies
    13
    Views
    1,383

    Re: Tic-Tac-Toe Help

    I just tried to generate a board and my toString() method for my array doesn't work. we can't print from the method as printing the array seems simple to me with nested for loops. but generating a...
  8. Replies
    13
    Views
    1,383

    Re: Tic-Tac-Toe Help

    I haven't even gotten to a point for board outputs atm, been trying to think of a way to generate the most possible (non duplicate boards) given the user's input of size.
  9. Replies
    13
    Views
    1,383

    Tic-Tac-Toe Help

    This is for a college class so I already understand if you can't straight up tell me the answer. That being said I still am in need of help...


    CompSci 251: Spring 2012
    Programming Assignment...
  10. Thread: need help fast

    by coke32
    Replies
    6
    Views
    516

    Re: need help fast

    well i guess i'll just take a zero because i have absolutely no idea.
  11. Thread: need help fast

    by coke32
    Replies
    6
    Views
    516

    Re: need help fast

    well I got it to print the correct number of characters by printing "?" instead of guess. but "?" is taking place of spaces, i tried to do an if statement where as if the charAt(i) wasn't between 'a'...
  12. Thread: need help fast

    by coke32
    Replies
    6
    Views
    516

    Re: need help fast

    yea idk if i'm just overlooking this problem, but my entire class seems to be having trouble with this "simple" task. I can't get the secret phrase to be displayed as a hidden message with ?'s. not...
  13. Thread: need help fast

    by coke32
    Replies
    6
    Views
    516

    Re: need help fast

    import java.util.Scanner;
    public class Exam01 {

    /**
    * @param args
    */
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    Scanner stdIN = new...
  14. Thread: need help fast

    by coke32
    Replies
    6
    Views
    516

    need help fast

    Need help figure out a way using for loops or while loops to convert a string into astericks or question marks except not the white spaces.

    Example:

    I am going to sleep ==> * ** ***** ** *****...
  15. Replies
    7
    Views
    684

    Re: Very Basic Java input Problem

    Yea I'm still struggling to get an output with this, even when using you're properly nested code, could it be because of my version of java on my macbook?
  16. Replies
    7
    Views
    684

    Re: Very Basic Java input Problem

    I still can't seem to get it to have an output after user input. I've tried all kinds of boxing idk if I'm doing it right though :/. Still looking for help
  17. Replies
    7
    Views
    684

    Re: Very Basic Java input Problem

    I see what you're saying as far as my blocks go(literally just learned about nesting the if statements), but when I copied your code in their the compiler gave me loads of errors. I got time but was...
  18. Replies
    7
    Views
    684

    Very Basic Java input Problem

    Okay first things first here was my assignment:


    secondly heres my code:

    import java.util.Scanner;
    public class Weekly03 {

    /**
    * @param args
  19. Replies
    1
    Views
    725

    Intro to java hw assignment

    Just kinda looking to brainstorm with people or get some good tips (looking to learn too not just post here for someone to do my hw). Remember I'm literally like only 2 weeks into java, we are just...
  20. Thread: Hey there!

    by coke32
    Replies
    1
    Views
    227

    Hey there!

    Hey, Names Ryan I'm majoring in computer science and its my sophomore year, I did minimal visual basic in high school and am now currently enrolled in an introduction to java class. I'll be looking...
Results 1 to 20 of 20