I am using the entire file. I basically made a copy of it and started editing it adding in the options and such.
Type: Posts; User: Niss
I am using the entire file. I basically made a copy of it and started editing it adding in the options and such.
Wow, that was scary. How'd you figure that out, hehe ;)
Aren't the library declarations at the top supposed to take care of that?
I'm not sure I understand .. =/
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>...
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?
Got it! Thanks a million ;)
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.
...
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>
...
Yey! It worked!
Thank you very much ^_^
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...