CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: coder752

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    3,496

    Re: Valid question or not?

    How can it be decreasing when the question stated show that its increasing, I sort of understand your way of calculating it but I don't think the formula is right.
  2. Replies
    3
    Views
    3,496

    Valid question or not?

    Can you check to see if this is even a valid question. I got this challenge from someone and I believe there's no way to solve it but have a look. I can't find a perfect bounded above value...I...
  3. Replies
    3
    Views
    1,673

    Re: Equations Problem

    I solved it now...thanks.

    But please help me with my other Discrete Structures question:

    http://www.codeguru.com/forum/showthread.php?t=485507
  4. Replies
    3
    Views
    1,673

    Re: Equations Problem

    Thanks, I will try to read the link first, attempt the question, and post my findings to see if I'm right...or need additional help.

    Thanks so much, also could you take a look at my other thread...
  5. Replies
    3
    Views
    1,673

    Equations Problem

    I need help with this question:

    Find what a,b,and c is. They must be integer answers.

    The equation goes like this:


    35a+55b+77c=1

    I'm totally confused, I can think of a solution but...
  6. Replies
    0
    Views
    1,038

    Discrete Problem Help

    Hey all,

    I need help on this problem. Say that x^2 is congruent to 3 (mod 83).
    Find the inverse of x (mod 83).

    I made a small example case first: (I think all this is wrong now) Please...
  7. Re: Tricky question that deals with big O notation and little o notation

    I suppose it is.

    Does that help any bit?

    Basically I believe its asking for a function that is not little o(1) but when you plug in the number 2009 in the new function it will equal to 0 thus...
  8. Re: Tricky question that deals with big O notation and little o notation

    Ok, I'll give you the whole statement.

    This is a two parter question to be treated separate.
    Suppose f(x) is a function such that f(x) = O(1).

    Can e^{f(x)} = o(1)? Yes or no, provide...
  9. Replies
    1
    Views
    2,658

    Induction Question

    I have another induction question. Here's my work. I think I got it right(except the base case).

    Help is greatly appreciated. Thanks in advance.

    The question goes as this: Prove using...
  10. Tricky question that deals with big O notation and little o notation

    Hi,

    I have this question that seems trivial to me.

    I need to find a function which is not o(1) but where f(2009) = 0 <---fyi this is a zero
    using the fact that f(x) is a function such that...
  11. Replies
    6
    Views
    4,824

    Congruency with Mod (Induction Question)

    Hi,

    I wanted to clarify my answer for this question. Please note if I did anything wrong.

    The question uses induction.

    Prove that for every positive integer n, 4^n+14 congruent 0(mod 6)
    ...
  12. Thread: Induction

    by coder752
    Replies
    5
    Views
    5,326

    Re: Induction

    So the next step would be this:

    P(k): 1+1+2+3+5+8+.........k= (k+2) -1

    And the next step would be this:

    P(k+1) 1+1+2+3+5+8+.......k+k+1=(k+2)+1-1 which would simply be:

    P(k+1)...
  13. Thread: Induction

    by coder752
    Replies
    5
    Views
    5,326

    Induction

    I need help with this challenging question for my computer discrete structures/data structures class.

    Ok I need to prove that the sum of the first n fibonacci numbers is equal to the (n+2)nd...
  14. Replies
    1
    Views
    937

    GUI Help Java Program

    I don't know what to use, a JFileChooser, or a JTextArea?



    It's suppose to read in a social security (sample) file, if it contains anything other than the 9 digits, it will show the exception. ...
  15. Replies
    6
    Views
    6,386

    Re: GUI example won't work

    Ok, so I transferred my code to a new directory called components. I placed TextDemo.java in there. I added this line of code in the heading as well


    import components.*;


    Next...
    I did a...
  16. Replies
    6
    Views
    6,386

    Re: GUI example won't work

    Error message reads like this:

    Exception in thread "main" java.lang.NoClassDefFoundError: TextDemo (wrong name:
    components/TextDemo)
    at java.lang.ClassLoader.defineClass1(Native Method)...
  17. Replies
    6
    Views
    6,386

    GUI example won't work

    I got this code from the Java Sun site.

    Why won't it run?



    package components;

    /* TextDemo.java requires no other files. */
  18. Thread: Linked List

    by coder752
    Replies
    12
    Views
    9,170

    Re: Linked List

    Thanks! I just put that line in its new location, it works now.

    I don't think I could do the other method Xeel said earlier since I didn't learn generics yet.
  19. Thread: Linked List

    by coder752
    Replies
    12
    Views
    9,170

    Re: Linked List

    So I put that line above that, and I get 2 errors. Now what?

    Here's the new main.




    /**
    * Sole entry point to the class and application.
    * @param args Array of String...
  20. Thread: Linked List

    by coder752
    Replies
    12
    Views
    9,170

    Re: Linked List

    Not uh!

    It's not as easy as pie.

    In case you didn't try to compile it urselves.

    This is what I get.

    Note: LinkedListExample.java uses unchecked or unsafe operations.
    Note: Recompile with...
  21. Thread: Linked List

    by coder752
    Replies
    12
    Views
    9,170

    Linked List

    How can I compile this code found on this site?

    http://www.javafaq.nu/java-example-code-90.html

    The code is too long to paste here.

    It's a linked list example.

    No, its not a dumb question...
  22. Replies
    5
    Views
    1,043

    Re: Java I/O Question & toString question

    System as in what the computer is calculating aka (procedures done internally)
  23. Replies
    2
    Views
    901

    Re: About abstract classes

    Thanks for the interpretation.
  24. Replies
    5
    Views
    1,043

    Re: Java I/O Question & toString question

    [QUOTE
    You'll have to explain what you mean.
    [/QUOTE]

    I mean what is the system doing while the toString is being used and what the system is doing while the program is suppose to have though it...
  25. Replies
    2
    Views
    901

    About abstract classes

    Why you can't declare a class abstract and final?

    Is there some internal rule the system just rejects, or what?

    Can somebody provide a sample program demonstrating this?

    Thanks,

    Coder752
Results 1 to 25 of 50
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured