Hello all,
I am trying to create a random number between a range of certain numbers, lets say 1 -10. I am using this below but for some reason it gives me the same number most of the time.
...
Type: Posts; User: xamlit
Hello all,
I am trying to create a random number between a range of certain numbers, lets say 1 -10. I am using this below but for some reason it gives me the same number most of the time.
...
Okay.. .but how do I tell the compiler to scan everything up the the tab? I pretty much got it after that I think.
Hm..... I would think this would work but it doesn't"
while...
First off let me say that I appreciate any help that I recieve.
Okay, here is my problem:
I am writing a simple encryption program that will encrypt text files. The encryption key to decrypt...
I did something simliar.. Check this out:
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
I managed to make your program hit the fan by typing in a decimal!
Hmm.. but doesn't that just start from the element they entered? I want to be able to display all the elements as if it were removed. such as :
1.box
2.shoe
3.red
4.crayon
user selects to...
Hey guys!,
I am trying to remove a user specified element from the display of an array. I know that this doesn't take it out of the array, but I figure that if I get this it would be the same...
Hey all,
I am using a bar code scanner to scan a number into my program. A typical bar code number is somewhere around 12 digits long. I have to use a float for this because its too big for an...
Luckily I found a article that helped me from this website:
http://www.cprogramming.com/tutorial/c/lesson9.html
So here is my revised code using fgets :
//Luke Tillman-Young
Hey guys... I am currently taking a C progarmming class, and I've been unable to contact my instructor and I've reached a little snag in code
It seems as though this program randomly crashes. I...