Search:

Type: Posts; User: Niss

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,388

    I am using the entire file. I basically made a...

    I am using the entire file. I basically made a copy of it and started editing it adding in the options and such.
  2. Replies
    9
    Views
    1,388

    Wow, that was scary. How'd you figure that out,...

    Wow, that was scary. How'd you figure that out, hehe ;)
  3. Replies
    9
    Views
    1,388

    Aren't the library declarations at the top...

    Aren't the library declarations at the top supposed to take care of that?
  4. Replies
    9
    Views
    1,388

    I'm not sure I understand .. =/

    I'm not sure I understand .. =/
  5. Replies
    9
    Views
    1,388

    having some trouble with function libraries

    Hey everyone. For some strange reason my program won't read in from the libraries I'm including at the top:


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <ctype.h>...
  6. Thread: getchar

    by Niss
    Replies
    4
    Views
    1,186

    getchar

    I'm having some trouble understanding the exactly what this function does. I keep thinking of it as a scanf. Does anyone have a link to a tutorial that would help me understand this a bit better?
  7. Replies
    6
    Views
    2,551

    Got it! Thanks a million ;)

    Got it! Thanks a million ;)
  8. Replies
    6
    Views
    2,551

    So how exactly would this look like in a piece of...

    So how exactly would this look like in a piece of code? Setting an integer to a random number that is, through the use of srand.


    random = srand((int)time(NULL));

    ... is giving me errors.
    ...
  9. Replies
    6
    Views
    2,551

    problem with random number generator

    Beginner alert! ^^

    I've got the following piece of extremely simple code and I'm not sure exactly why it keeps evaluation to '41'.


    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    ...
  10. Replies
    3
    Views
    1,607

    Yey! It worked! Thank you very much ^_^

    Yey! It worked!

    Thank you very much ^_^
  11. Replies
    3
    Views
    1,607

    if statement is evaluating incorrectly ...

    I'm in an intro to programming class is this is the 3rd assignment we've had. I had a very simple task with this program, and is done, for the most part. I'm running in to a small problem though. The...
Results 1 to 11 of 12