Search:

Type: Posts; User: PunchOut

Search: Search took 0.01 seconds.

  1. Thread: looping issue

    by PunchOut
    Replies
    6
    Views
    1,129

    I think so, the Fisher-Yates cancels out...

    I think so, the Fisher-Yates cancels out possibilities instead of error checking.
  2. Thread: looping issue

    by PunchOut
    Replies
    6
    Views
    1,129

    I am having a very hard time understanding how to...

    I am having a very hard time understanding how to implement the Fisher-Yates algorithm. Is there by chance a simpler way to make this work?

    This program originally dealt 52 cards and we were...
  3. Thread: looping issue

    by PunchOut
    Replies
    6
    Views
    1,129

    looping issue

    Hello everyone, I am having trouble with a program and the loop in the main function highlighted in red. I need the program to deal 10 times and determine hands etc. Not sure what I am missing...
  4. Replies
    19
    Views
    2,070

    my first was a basic calculator

    my first was a basic calculator
  5. Replies
    2
    Views
    1,033

    lol, thank you, duh! :)

    lol, thank you, duh! :)
  6. Replies
    2
    Views
    1,033

    Problem in the loop

    I am in the early stages of creating a game of fifteen but i am having a problem. When i run this program i can do "up" and "down" all day long, but when i try "left" or "right" or type anything...
  7. Replies
    2
    Views
    744

    What the string?!

    why does lower[] print lower and upper case letters?

    probably right in front of my face!



    #include <stdio.h>

    void alpha(char upper[26], char lower[26]);
  8. Replies
    7
    Views
    24,594

    is this what you mean? cipher[x++] = '\0'

    is this what you mean?


    cipher[x++] = '\0'
  9. Replies
    7
    Views
    24,594

    wow, that was quick! thanks for the insight,...

    wow, that was quick!

    thanks for the insight, much appreciated :)
  10. Replies
    7
    Views
    24,594

    Simple Cipher Program

    Hello everyone, i am in the beginning stages of creating my own caesar cipher and i am running into trouble with my cipher array.

    If you run the program below and just input something simple like...
  11. it seemed to compile and run ok with gcc. Are...

    it seemed to compile and run ok with gcc.

    Are you saying it wont compile on other(most) c compilers out there?
  12. Thanks zacs7, a finished product! :) (i had...

    Thanks zacs7,

    a finished product! :) (i had been working on this stupid program and trying different loops etc for 2 weeks!!! before i found this site)

    does the indenting look ok now?


    ...
  13. i read topics like these and i am not smart...

    i read topics like these and i am not smart enough to indent properly :)
  14. thanks for the info. my problem is that when...

    thanks for the info.

    my problem is that when i run this program and calculate the first equation it gives the answer correctly and all but it displays

    Please Enter in:

    + for addition
    -...
  15. if there are any other comments about style etc...

    if there are any other comments about style etc please let me know.

    thanks, PO
  16. Hello, New on Here and i have my first question

    i have been working on this simple c calculator program. it runs ok for me until it hits the loop and repeats the option to:

    Please Enter in:

    + for addition
    - for subtraction
    x for...
Results 1 to 16 of 16