Search:

Type: Posts; User: SDH

Search: Search took 0.01 seconds.

  1. Replies
    27
    Views
    10,498

    Just thought I would kep you updated, I have...

    Just thought I would kep you updated, I have managed to get the code to work properly using a couple more loops and counts. Thanks for your help.
  2. Replies
    27
    Views
    10,498

    thanks for all the help you are giving me. For...

    thanks for all the help you are giving me. For some reason it still wont work, where am going wrong on using bubble sort to sort both arrays?

    #include<stdio.h>int main(void)
    {


    int c;
    ...
  3. Replies
    27
    Views
    10,498

    here is what I have come up with so far. Am I...

    here is what I have come up with so far. Am I getting any closer?7

    #include<stdio.h>int main(void)
    {


    int c;
    int n;
    int count1[127] = {0};
    int count2[127] = {0};
  4. Replies
    27
    Views
    10,498

    I have an idea how to intialize it but I am not...

    I have an idea how to intialize it but I am not sure on where to put it in the code and how to write it in, any clues?
  5. Replies
    27
    Views
    10,498

    I have just added bubble sort to the code and...

    I have just added bubble sort to the code and that works perfect. Where in the code do I add the new array?
    here is the code too

    #include<stdio.h>int main(void)
    {


    int c;
    int n;
    ...
  6. Replies
    27
    Views
    10,498

    ok thank you very much, what other method to work...

    ok thank you very much, what other method to work out a straight would you use instead?
  7. Replies
    27
    Views
    10,498

    Do I need to use bubble sort on the array first?

    Do I need to use bubble sort on the array first?
  8. Replies
    27
    Views
    10,498

    I understand how that code work, but do not know...

    I understand how that code work, but do not know why that won't work for me. Is it because I have two arrays?
  9. Replies
    27
    Views
    10,498

    Ok thank you very much, I had trouble with an...

    Ok thank you very much, I had trouble with an earlier version of the code and found that putting 127 elements in the array seemed to solve the problem, but have changed it to five now and its seems...
  10. Replies
    27
    Views
    10,498

    sorry I think I haven't explained what I want to...

    sorry I think I haven't explained what I want to do properly, I would like the difference to be calculate from the user input ( this will change every time). But what I am having trouble is using the...
  11. Replies
    27
    Views
    10,498

    I was going to use values of 10=ten 11=jack...

    I was going to use values of
    10=ten
    11=jack
    12=queen
    etc

    I have tried to write code for it, and so far I have wrote this

    #include<stdio.h>int main(void)
    {
  12. Replies
    27
    Views
    10,498

    Sorry guys, I appreciate you trying to help me. I...

    Sorry guys, I appreciate you trying to help me. I am trying to make a poker scoring system. So at the moment I am working on how to get straights, then from there I can combine it all together.
    ...
  13. Replies
    27
    Views
    10,498

    consecutive numbers

    I am trying to get a program to read a set of numbers from user input, and then from there manipulate the numbers and display messages depending on what numbers are present.

    For consecutive...
Results 1 to 13 of 13