Search:

Type: Posts; User: Praetorian

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    1,267

    [SOLVED] Re: String Manipulation.

    Hey, it works. I was trying to think of a way to incorporate the indexOf() method. Couldn't think of how. I really like that Mugambbo. Thanks!
  2. Replies
    6
    Views
    1,267

    [SOLVED] Re: String Manipulation.

    Oh gosh. That is so simple. That's what I'm going to use. Thank you so much. That method is not mentioned anywhere in the section of the text I was reading.
  3. Replies
    6
    Views
    1,267

    [SOLVED] Re: String Manipulation.

    Thanks for replying Ganeprog. I'm sorry that I wasn't very clear. The output is NOT to include the comma punctuation mark. So if the user keys in 24,000 for example, the program is to output...
  4. Replies
    6
    Views
    1,267

    [SOLVED] String Manipulation.

    Hi all. I hope you all are doing OK. I'm OK but I do have a quick question about string manipulation. You see I've been given a simple exercise that involves asking the user to input a number...
  5. [SOLVED] Re: How To Compare String input to char Array....

    To the moderator on-duty, or anyone who knows:
    I have what I call my general Neandarcode written for this program and would like to have it critiqued. Where would you advise I post it, before I...
  6. [SOLVED] Re: How To Compare String input to char Array....

    No, no. No need to apologize. You were quite clear. I just don't have my best "listening ears" on right now.
  7. [SOLVED] Re: How To Compare String input to char Array....

    Ahhh, ok. I see. And I see how that can be useful.

    Let me ask you something else Norm, if you don't mind: I have what I call my general Neandarcode written for this program and would like to...
  8. [SOLVED] Re: How To Compare String input to char Array....

    Actually, to be honest, although I'm sure this works else you wouldn't have said so, I don't quite understand it...

    alphabet[1] = alphabet[0] + 1;

    Or perhaps I don't understand what this...
  9. [SOLVED] Re: How To Compare String input to char Array....

    GregBrannon, yes, thank you. I definitely needed to know that. I knew there had to be a more efficient way to build those arrays. I knew enough to know that I should be embarrassed by having keyed...
  10. [SOLVED] Re: How To Compare String input to char Array....

    Looking those up now. Thanks Norm.
  11. [SOLVED] Re: How To Compare String input to char Array....

    Well, that's pretty much what it is, an Atbash cipher. I can compare the two arrays, one being the standard alphabet, and the other being the cipher using the following code:


    public class...
  12. [SOLVED] How To Compare String input to char Array....

    Good evening everybody. I hope you all are well. SoS on my end.

    Anyway, at the moment I'm sort of stuck on a "how will I do that" hump and I'm hoping someone won't mind pushing me over. What...
  13. Replies
    5
    Views
    935

    [SOLVED] Re: Syntax Question...

    :cool:
  14. Replies
    5
    Views
    935

    [SOLVED] Re: Syntax Question...

    Ahhhhhhh. Well that would make things much simpler indeed. Mucho appreciado Ganeprog. And thanks for explaining things as well.
  15. Replies
    5
    Views
    935

    [SOLVED] Syntax Question...

    Good evening all,

    I hope everyone is well. I'm OK, but I need a little help trying to figure out how to properly code a particular statement, namely this:



    if...
  16. [SOLVED] Trying to apply methods to sequential program. Getting error.

    Hi all. Hope everyone is doing well. Hey, I'm trying to apply methods to a program I have previously written sequentially. I keep getting the following error because of my semicolon on line 31...
  17. Replies
    6
    Views
    1,318

    [SOLVED] Re: Subclass not compiling.

    Sure thing Norm. Thanks for your help. You know, all those args just look wild to me. Logically I can see now why they are needed, but I just assumed there was a more 'succinct' way to do this.
  18. Replies
    6
    Views
    1,318

    [SOLVED] Re: Subclass not compiling.

    Thanks for trying to help. But I'm sorry to say I'm just not getting it. I mean, I've passed it what it needs. Then I try passing all the args in the order that they appear in the super-class. ...
  19. Replies
    6
    Views
    1,318

    [SOLVED] Re: Subclass not compiling.

    Thanks again Norm. (I was just moving this post to proper forum.) Anyway, you're fast. So, I had been thinking along the lines of your first suggestion, but does that mean I need to pass ALL the...
  20. Replies
    6
    Views
    1,318

    [SOLVED] Subclass not compiling.

    Hi all. How's everybody doing? Good I hope. I'm hanging in there.

    What I have are some classes for a program I'm sure many of you have seen before, ye ol' BankAccount class. What I've done...
  21. Replies
    2
    Views
    990

    [SOLVED] Re: Is it the Math or is it my Methods?

    Norm! That's it!! You rock! \m/ Thank you SO much.
  22. Replies
    2
    Views
    990

    [SOLVED] Is it the Math or is it my Methods?

    Hi all. Ron here. \m/ It's been a few weeks. I hope everyone is well.

    What I have here is part of a program I'm working on. What I'm doing at this point is converting a Fahrenheit temperature...
  23. Re: Printing highest number of array. Can't find my error.

    Thanks pbrockway2. Yeah, it's not really as well put together as I thought, now that I look at it. I wasn't really rushing through it, I was just hoping that because the code seem to pour from my...
  24. Printing highest number of array. Can't find my error.

    Hi all. Your's truly here again. :cool: Hope everyone is doing well. Alas, I'm having trouble pointing out what I'm doing wrong here with this little program I'm writing for class. What I need to...
  25. Replies
    3
    Views
    951

    [SOLVED] Re: Simple if-else not working for me.

    Thanks Zyrion. You're pretty quick to respond. So, ok, I went back and initialized the variables. Bear in mind, I'm still in n00b-think, so when I got that error message, I thought it was mistaken...
Results 1 to 25 of 38
Page 1 of 2 1 2