Search:

Type: Posts; User: aussiemcgr

Page 1 of 20 1 2 3 4

Search: Search took 2.03 seconds.

  1. Re: Help Needed In the Code: Occurrence of Digits in a Number

    Out of curiosity, why don't you keep the input as a String and simply parse the String?

    For example, here is sample code which would parse a number (stored as a String) for a specific digit:
    ...
  2. Replies
    7
    Views
    131

    Re: Question about good coding practice

    Ah, okay, I see. I was confused by how you had the names. Hmmm. I can think of a few things, but none of them would be nearly as neat as the interface. I'll have to think about it. Have you...
  3. Replies
    21
    Views
    184

    Re: Nerd Alert- New Member

    NCR isn't airline related, it's a tech company that's been around since 1884. It used to be called the "National Cash Register" Corporation, but now I think it just goes by NCR since cash registers...
  4. Replies
    21
    Views
    184

    Re: Nerd Alert- New Member

    Perhaps by "apprenticeship", he meant "internship", in which there are LOTS of opportunities for college students. Most colleges go as far as setting up business relationships with certain companies,...
  5. Replies
    7
    Views
    131

    Re: Question about good coding practice

    I would absolutely recommend your interface. In most cases of tree structures I've seen, the Root node is a Node, as is the Leaf. Or, if different classes for each were really needed based on...
  6. Replies
    21
    Views
    184

    Re: Nerd Alert- New Member

    What would be nice is if some (accredited) college offered a Software Engineering Degree (or something) where the degree program was just basically 4 years of programming boot-camp, where they could...
  7. Replies
    21
    Views
    184

    Re: Nerd Alert- New Member

    While I understand where you are coming from, I feel like colleges should have covered the fundamentals by the 7th or 8th Semester.
    I'm still in college right now, and I am amazed that my classes in...
  8. Replies
    7
    Views
    131

    Re: Question about good coding practice

    Why isn't Root it itself a Node?
  9. Replies
    21
    Views
    184

    Re: Nerd Alert- New Member

    Kevin, I can assure you that things like Spring are not being taught in colleges. CS and engineering departments are too busy teaching things like Basic and Assembly to worry about anything that...
  10. Replies
    31
    Views
    292

    Re: Can't pass by reference?

    Give the problem you originally asked, I would have to ask what logical sense doing it the way you suggested in C# makes.
    You passed the value 1 to an instance of the MyClass class, where you set...
  11. Re: complete noob, pretty sure I'm just missing one argument

    The setTime() method has no return type (void). The System.out.println() method accepts an argument, where the argument is the thing you want to print to the console window.
    When you say:...
  12. Re: Android: How to deal with App being closed in the background?

    That's an interesting solution that seems to be what I want. But there are a few things I'm curious about.

    Ok, so I have a separate class for the Puzzle which is in a library that is independent...
  13. Replies
    5
    Views
    119

    Re: java commands

    Do you have access to the API? For example, the java.util api: java.util (Java Platform SE 7 )
  14. Android: How to deal with App being closed in the background?

    So I've come across something with my Android app which I am apparently not handling well (or at all).
    If I open my app, then press the home button (so the app is now running in the background),...
  15. Replies
    3
    Views
    220

    Re: swing or javafx or ?

    I'd like to disagree with this statement. I've been blow away by some of the painting and drawing abilities in JavaFX. With that being said, if you are familiar with Swing, there is a bit of a...
  16. Replies
    3
    Views
    124

    Re: #ifdef in Java?

    Took a look at this. The wikipedia article (Conditional compilation - Wikipedia, the free encyclopedia) states:
    Due to Java's "write once, run everywhere" nature, worrying about differences in...
  17. Re: Best way to implement Ad-Supported and Paid app versions

    FYI: I followed this up with a tutorial which should work:...
  18. Replies
    4
    Views
    143

    [SOLVED] Re: "Java is slow" myth

    It is an old myth that is no longer true. It was true back in 2000, but isn't true anymore. Modern Java runs as fast as any other language. The "slow" myth was largely a criticism of the old pre-2000...
  19. Replies
    5
    Views
    172

    Re: can't get my entered values

    What should your addrec() method be doing? It doesn't seem correct.
  20. Android Tutorial: Shared Management of Ad-Free and Ad-Supported App Versions

    I've had to come up with a solution for this, so I figured I would write a tutorial for anyone else who has had this problem.

    Problem:
    You have an Android App which you are ready to put on the...
  21. Replies
    9
    Views
    128

    Re: Forum's policy on self promotion?

    Have we ever thought about adding a section to the forum for self-promotion? A sort of "what I'm working on" section or something for people to post projects and others to give feedback?
  22. Replies
    9
    Views
    59

    Re: 'new' instantiating command ??

    Consider the three example classes below, which I will use to answer your question:

    public class Value {
    private int value;

    public Value(int val) {
    value = val;
    }

    public int...
  23. Replies
    9
    Views
    59

    Re: 'new' instantiating command ??

    On the left side, you are creating a variable, named object_name, with the type class_name. On the right side, you are initializing a new class_name object. This is an important distinction.
    The...
  24. Re: Best way to implement Ad-Supported and Paid app versions

    Actually, I came across something interesting: Managing Projects from Eclipse with ADT | Android Developers
    I wonder if this will serve my purpose. Since it sounds like you are having a similar...
  25. Best way to implement Ad-Supported and Paid app versions

    I have an app and I am looking to have two version: a free, ad-supported version, and a paid $0.99 version. The two apps should be identical, with the only exception being one has ads and the other...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4