Search:

Type: Posts; User: LineOFire

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,799

    Never mind this post. I don't know what happened...

    Never mind this post. I don't know what happened but it is working like it should now, even using the prefix form. I probably forgot to save before recompiling or something.:rolleyes:

    Glad to...
  2. Replies
    6
    Views
    1,799

    Dave_Sinkula, yes, I did mean that. For some...

    Dave_Sinkula, yes, I did mean that. For some reason when I compile it using prefix form it refuses to sort.

    Quzah, I thought that was how it worked, but something seems to be wrong in my case.
    ...
  3. Replies
    6
    Views
    1,799

    Increment/Decrement operator troubles

    I have this bubble sort code that is just supposed to sort elements of an array in ascending order:


    #include <stdio.h>

    int main(void)
    {
    int i = 0, didSwap = 0, temp = 0, inner = 0,...
  4. Replies
    11
    Views
    3,997

    Once I learn structures I will re-write it to use...

    Once I learn structures I will re-write it to use difftime but right now that just looks like gibberish to me. :(
  5. Replies
    13
    Views
    7,875

    I think he meant that you aren't initliazing i...

    I think he meant that you aren't initliazing i and n before the loop so those variables could contain anything. You never set what i is so it will not contain 1 like you want it to.

    Can you post a...
  6. Replies
    11
    Views
    3,997

    Most of the things you guys suggested I haven't...

    Most of the things you guys suggested I haven't learned/have no idea what you're talking about yet. Only finished learning the loops and just starting pointers:p

    I made lots of changes to the code...
  7. Replies
    11
    Views
    3,997

    I left the leap years/months with less days...

    I left the leap years/months with less days because it was too complicated like you said. I am in the process of coming up with some solutions though. The four digit years thing was something I...
  8. Replies
    11
    Views
    3,997

    Constructive criticism/suggestions

    I finally took the plunge, decided to register and join in on the discussion. :)

    I am using the book "Practical C Programming" to help teach myself how to program in C. I've gone through the...
Results 1 to 8 of 8