Search:

Type: Posts; User: Ada Lovelace

Page 1 of 17 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    2
    Views
    63

    Re: inputmismatch exception

    You are asking for a String input when your actual input is a double.
    Change the input to nextLine() and declare all sales units as string-type. When you read in input make
    sure it's an empty...
  2. Replies
    12
    Views
    102

    Re: Library System

    You state it's a menu driven application - so how would you create a menu which repeats?
    How would the menu check if input was correct? Which type of loop would be suitable for this
    process?
    ...
  3. Replies
    8
    Views
    81

    Re: Turning something into a For loop

    Create a loop which reads through the integer from the first number and terminates after the
    final number. Create a single integer variable to hold the total sum. When each integer is read,...
  4. Re: can anyone please solve this sooooooon???

    Nobody here is going to do your homework for you. Show what you have
    accomplished so far along with any errors/problems and people will be able
    to help you out.

    Wishes Ada xx
  5. Replies
    1
    Views
    75

    Re: How to build a webphone in Java

    Anything you can do in C# you can more-or-less do in Java, so yeah I would say it's possible.
    Also, C# built-in methods and classes are very similar to the ones Java uses. Instead of using
    .NET as...
  6. Replies
    9
    Views
    157

    Re: Locking the camera on character

    Are you attempting to create a 3D game or a 2D one? Is it even a game?
    Both of these have different builds and some very complex mathematics. A 3D
    camera in modern games can circle 360 around a...
  7. Replies
    2
    Views
    92

    Re: I like to help

    Hi! Welcome to the forum :)

    Wishes Ada xx
  8. Replies
    134
    Views
    25,961

    Sticky: Re: 500 Ways to Print 1 to 10

    Clever. Is that assembly language? I know 'echo' is a terminal print command ;)

    Wishes Ada xx
  9. Replies
    2
    Views
    427

    Re: New to Java

    Welcome to the forum :)

    Wishes Ada xx
  10. Replies
    10
    Views
    342

    [SOLVED] Re: Resource leak

    Depending on if you are using basic console I/O with the Scanner class,
    you can ignore the warning. Like Cornix suggested, it regards mainly file
    streams, that a file object must be closed when...
  11. Re: can someone please help me understand this question.

    Welcome to the forum :)

    Break the problem down into subsets.

    # create a main method
    # read the requested input from the keyboard
    # manually work out on pen and paper what the date would be
    #...
  12. Replies
    6
    Views
    467

    Re: Java2D Array Help :(

    Are you getting any errors? If so post them or explain what about
    the array logic you are struggling with. Btw: class names should start with
    an upper case character.

    Wishes Ada xx
  13. Replies
    10
    Views
    220

    Re: floyd triangle

    Post any code you have so far and explain where in the code you need the help.
    People will be able to help you easier if they have something visual to look at :).

    Wishes Ada xx
  14. Replies
    2
    Views
    152

    Re: Introduction

    Hello and welcome to the forum :)

    Wishes Ada xx
  15. Replies
    2
    Views
    180

    Re: new to forum

    Hi! Welcome to the forum :)

    Wishes Ada xx
  16. Replies
    5
    Views
    273

    Re: java begginner homework help

    Do not put yourself down like that - the fact that you can write code in any form
    means you can program, and you are understanding the basic features of the
    language. Everyone has to start...
  17. Replies
    2
    Views
    164

    Re: Please help with simple output.

    Welcome to the forum :)

    Java has two standard methods for formatting output in the manor you want.

    printf() and format()

    You can set how far to the right of the decimal you want the figure...
  18. Re: Can someone tell me how to convert this C++ code to java? (just 50 lines)

    Looks like a GUI base or part of one for Windows.

    How much Java do you know?

    Wishes Ada xx
  19. Replies
    6
    Views
    467

    Re: Java2D Array Help :(

    Hi there and welcome to the forum :)

    Wishes Ada xx
  20. Replies
    3
    Views
    160

    Re: how to disclose my code?

    Welcome :)

    If you want to post any Java code - you need to encase the code in "code tags". Do not post
    URL links to the code.

    code tags consist of a opening tag and a closing tag. There are...
  21. Re: Hi from a new old (in age) programmer

    Hi Welcome to the forum. :)

    Like your comment about the old days ;) I first learned BASIC on
    Acorn Computers in the late 1980's. I do remember the "Green Screen"
    computing age - nowadays that...
  22. Replies
    9
    Views
    909

    Re: Where do I begin?

    Depends on the individual. Everyone has their own personal preference. Some popular ones are:

    * Head First Java
    * Java How to Program (Deitel)
    * Art and Science of Java (uses ACM package...
  23. Re: Game over method not updating correctly

    Try setting break points in the code - at places you think the execution is following
    a different path. Check the values of any variables when the execution stops, then step
    into the code, note...
  24. Replies
    7
    Views
    257

    Re: Printf Left Justify?

    When you say left-justified are you talking about the text printing up against the left
    margin of the screen? I compiled your sample code and that is where my output was.

    If it is appearing like...
  25. Replies
    3
    Views
    443

    Re: Largest Number Loop Problem

    What you might want to do is create a variable that will hold the largest
    random value, iterate through the loop and fill that value (remember to test
    each time if the new random value is larger...
Results 1 to 25 of 420
Page 1 of 17 1 2 3 4