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

Search:

Type: Posts; User: Wh1t3gh0st

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    463

    Re: Trees (Maps) problem

    Nevermind I solved it with a helper function for print. Thanks all for your time if anyone wants email me or PM me and I will let you know how I did it. Peace, Out.
  2. Replies
    3
    Views
    495

    Re: including new header file.

    Don't you need Windows 8 to run vs 2012?
  3. Replies
    3
    Views
    463

    [RESOLVED] Trees (Maps) problem

    Hello, I am trying to use a red-black tree, STL Map, to read in a file that counts the words while ignoring punctuation and converting all words to lowercase. My problem occurs when I try to print...
  4. Thread: Primes

    by Wh1t3gh0st
    Replies
    4
    Views
    726

    Primes

    Hello again I am writing a program that takes the users input and finds that many primes; not the primes of the number from the user just that many.

    The problem is when I input the amount of...
  5. Replies
    1
    Views
    519

    Re: Read in an Integer?

    K I have solved this using scanf() C call thanks to all who were working on this
  6. Replies
    1
    Views
    519

    [RESOLVED] Read in an Integer?

    Hi, I am having trouble when I read in an integer from the keyboard and I try to display it to the screen back as the same integer. It pops out as an ASCII character. Am I doing this wrong or is...
  7. Replies
    1
    Views
    564

    Ilovecodeguru!

    Now I know why I come here great people and it feels good. Unlike Dream.in.code.net which takes forever to get a reply, and the ADMIN's are very disrespectful people swinging the ban hammer blindly....
  8. Replies
    5
    Views
    486

    Re: Statement concerning queue's?

    like if I were to do something like:

    queueType<double> queue(-20);

    then

    queue.addQueue(10);

    would this mean that there is initially a value of -20 in the queue? then 10 -20 would be in...
  9. Replies
    5
    Views
    486

    Re: Statement concerning queue's?

    ok thanks similar question what if i were to put any number within a parenthesis and taken into account that the number can be a double or int whatever. is this valid:

    queueADT<double>...
  10. Replies
    5
    Views
    486

    Statement concerning queue's?

    Isn't this statement invalid:

    queueADT<int> newQueue;

    shouldn't it be:

    queueType<int> newQueue;

    *note: ADT stands for Abstract Data Type
  11. Replies
    1
    Views
    729

    Re: Pacman Movement Problem

    Also anyone may use my code. Permission granted for this thread only
  12. Replies
    1
    Views
    729

    Pacman Movement Problem

    I am writing a pacman game and it has to be an applet not a JApplet.

    The problem is the pacman's movement. He will only go a very short distance before he locks up. He is supposed to be following...
  13. Replies
    3
    Views
    924

    Re: Gambler's Ruin

    I am wanting the program here to run 100 trials and for every trial display the number of times one will go broke or reach there goal depending on the initial amount that is bet.

    So for one trail...
  14. Replies
    3
    Views
    924

    Gambler's Ruin

    *This is an assignment*
    *instructions for original assignment attached*

    Ok, I am trying to get the program to calculate the number of times one goes broke and the number of time one reaches the...
  15. Replies
    3
    Views
    599

    Linked List Problem

    Hey I was wondering if this is a proper way of looking through the list to find the node with the smallest data, and then deleting it. This is what I have so far there is no main to test so please...
  16. Replies
    2
    Views
    764

    Re: Analog Clock 2x problem

    Another said,
    "(2*cal.get(Calendar.SECOND)) This is because you ARE making it twice as value. If you want it to be twice as fast here is what you need to do.

    Make a variable "quickness" make it...
  17. Replies
    2
    Views
    764

    Analog Clock 2x problem

    I am trying to get this clock to tick twice as fast when the "2x Speed" button is clicked. For some reason the clock will jump to another location, when the button is clicked, as if the clock were...
  18. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    What is wrong here?


    if (b2xSpeedClicked)
    {
    long start = System.currentTimeMillis();
    secHand = cal.get(Calendar.SECOND);
    long end = System.currentTimeMillis(); ...
  19. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    Yes, got digital time to work properlly.
    Calendar cal = Calendar.getInstance();
    timeString = formatter.format(cal.getTime());
    These need to be put into the paint function, above...
  20. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    Yeah I was still trying to figure out why the seconds never tick in the digital clock part of the program. Does it have anything to do with it not being in the while loop within run()?
  21. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    Second question, Why does the 2x button not reset when clicked for a second time. The original time starts where it left off, but it seems that 2x the speed keeps running in the background. Whenever...
  22. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    Ok gotta take a step back on the previous post. Clock seconds still isn't fixed to where they tick appropriately on the digital ticker. What is wrong? Can anyone give a pointer.


    import...
  23. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    I am having a similar problem with having the seconds increasing the speed of the clock by 2. What can I do without having to do if else statements within run()? Also I've tried to do something sort...
  24. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    Ok got more help here is the code a bit more cleaned up at the Military button. I know that the paint() should be seperated into more smaller methods, but I will fix it after I get the core of the...
  25. Replies
    13
    Views
    1,533

    Re: Buttons on Clock

    Ok, I fixed it, but in a "rough draft" sort of way. I just went and put the military button into run(). It works, but it seems to be extremely messy. I plan on adding more buttons that affect the...
Results 1 to 25 of 47
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center