Search:

Type: Posts; User: wingchunjohn

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    1,499

    Re: Setting markers in strings??

    Hi there,

    Thanks for taking time to give me some advice.

    Yes you are right about what should be outputted!! Thanks

    You have helped me loads with this. I owe you one!! :)

    Thanks for your...
  2. Replies
    3
    Views
    1,499

    Re: Setting markers in strings??

    Anyone?? :)
  3. Replies
    3
    Views
    1,499

    Setting markers in strings??

    Hi all,

    I'm having a bit of trouble on a bit of code I'm working on.

    Basically I'm writing a method where the user enters a String, then a letter within that string as marker 'a', then another...
  4. Replies
    4
    Views
    11,964

    Re: How do I set a static variable??

    Thankyou so much!!

    This is exactly what I was looking for. All the books etc I have don't show this! I've been having trouble with it for a while. thanks!
  5. Replies
    4
    Views
    11,964

    Re: How do I set a static variable??

    Hi,

    Thanks for the suggestion but basically in my project I have to do it a certain way.

    basically the static variable has to be one of the Horse classes. In other words the variable will hold...
  6. Replies
    4
    Views
    11,964

    How do I set a static variable??

    Hi all.

    I'm working on a problem for a school project.

    Bascially I have to set a static variable within a class. I have declared the variable as follows:-


    private static Horse...
  7. Re: how to write an if statement which evaluates 3 dialogue boxes

    No worries - I've just cracked it!!

    Basically I craeted another varaiable and each time added to to it. All's good

    Thanks
  8. Re: how to write an if statement which evaluates 3 dialogue boxes

    Ah right I'm with you!!

    The only thing is, in the course that I'm doing, we haven't yet learnt about arrays so will not be able to use them.

    If I put the answers into 3 variables, how would I...
  9. Re: how to write an if statement which evaluates 3 dialogue boxes

    Could you also do this without the array. for exemple by just checking


    if ( x==1)
    {
    //do something
    }

    etc etc??
  10. Replies
    11
    Views
    3,766

    Re: Data hiding and maintainability

    humdinger - would you not need to change the existing methods to private also? are you changing the existing methods at all or leaving them like they are?

    Since I do not have all the code I'm not...
Results 1 to 10 of 10