Search:

Type: Posts; User: rgrwatson85

Search: Search took 0.02 seconds.

  1. You're beyond me, but is the space after the...

    You're beyond me, but is the space after the period supposed to be there?


    while ( person_array[i]. number !=0 && i < MAX_PERSONS )
  2. Replies
    22
    Views
    4,729

    I don't copy anything. I look at examples like...

    I don't copy anything. I look at examples like the one I posted and then I look at different examples. I don't "photocopy" the code in my head and regurgitate it. I don't scoop and poop it into my...
  3. Replies
    22
    Views
    4,729

    If the guy was going to cheat then he would have...

    If the guy was going to cheat then he would have done it anyway. He is only hurting himself, and I don't care if he does. I told him not to...end of story.

    You don't like to use Google as a...
  4. Replies
    22
    Views
    4,729

    I clearly stated that I don't want him to steal...

    I clearly stated that I don't want him to steal the code! The purpose of my post was to show that Google is the first stop when seeking help. Read my second post on here.

    I don't learn a thing...
  5. Replies
    22
    Views
    4,729

    A caveat to my post is that I am not advocating...

    A caveat to my post is that I am not advocating the "scoop and poop route" (which is a freaking awesome term that should be copyrighted before i steal it). Use my link to understand the mechanics of...
  6. Replies
    22
    Views
    4,729

    Google is your friend... Buble sorting...

    Google is your friend...

    Buble sorting algorithm and source code in C
  7. Replies
    11
    Views
    4,362

    Fu*& I forgot to change my function back to void....

    Fu*& I forgot to change my function back to void. I was testing some ideas with returning a value and having the final array print from int main(). Guess it doesn't make a huge difference but I'm...
  8. Replies
    11
    Views
    4,362

    I got it figured out guys. Thanks for not handing...

    I got it figured out guys. Thanks for not handing me an answer, but pointing me in the right direction. I sat down and really thought about the logic involved in the problem and had quite a few "duh"...
  9. Replies
    11
    Views
    4,362

    I take back my last post. I just tested a random...

    I take back my last post. I just tested a random series including one and it did the same thing. Sometimes it works right and sometimes it doesn't.
  10. Replies
    11
    Views
    4,362

    Ok I updated the code again, and included a...

    Ok I updated the code again, and included a function that is part of the larger program. I tested everything you guys suggested and it worked beautifully...until i tested random numbers that don't...
  11. Replies
    11
    Views
    4,362

    Here is my updated function. I think it is right....

    Here is my updated function. I think it is right.


    void bubble_Sort(int sort_Array[], int array_Size)
    {
    int pass_Number=1;
    bool swap_Flag= true;

    while...
  12. Replies
    11
    Views
    4,362

    Bubble Sort assignment

    I have to write a program that sorts an array using bubble sort. I have two things that I would like to do to my code:

    1. Optimize it so that if the array is already in order it will recognize it...
  13. Replies
    5
    Views
    1,337

    #include #include float...

    #include <stdlib.h>
    #include <stdio.h>

    float factorial (float x, int n);

    int main()
    {
    float x;
    int n;
    printf ("Please input value for n: ");
  14. Replies
    5
    Views
    1,337

    Help writing a function

    We just started learning how to use functions in my programming class and I get the basic structure of how they are laid out, but I am having a problem figuring out how to write the code for a...
  15. Replies
    8
    Views
    1,820

    I made the changes to the indentations that you...

    I made the changes to the indentations that you suggested Adak. Thanks for that. It looks ten times better. Well better anyway. I talked with my prof today about there being so many while statements...
  16. Replies
    8
    Views
    1,820

    I have read about arrays a little bit in my spare...

    I have read about arrays a little bit in my spare time, but we haven't learned them yet. Just seemed that a while statement within a while statement within another while statement was a bit overkill...
  17. Replies
    8
    Views
    1,820

    Check for efficiency

    I am new to programming and have to write a program for class that is designed to calculate student averages, class averages, and report letter grades. A sentinel has to be used for assignment 1...
Results 1 to 17 of 17