I used to do some of that. It's amazing what you can do with sound, nosound, and delay. Basically, you can vary the delays and make some loops that call sound and no sound that will give you...
Type: Posts; User: PopRox
I used to do some of that. It's amazing what you can do with sound, nosound, and delay. Basically, you can vary the delays and make some loops that call sound and no sound that will give you...
One of your problems is how you are assigning values to your character array: Remember that when you assign single characters, they should be enclosed in single quotes, not double quotes:
"Apple"...
Hi chubaka,
THis question comes up alot when people are learning C. The short answer is: There isn't a good way to do it. When you scan a string or a single character from the keyboard, it...
If you're tring to compare character STRINGS (arrays of characters) use strcmp, etc in string.h
Computers represent single characters internally as numbers -- so you just compare them by using the...
There are almost certainly library files
that you have to link in on the compile command line. By default, only the standard C library is included. So, to include a specific extra library, the...
Don't mess with sockets and crap! It's really a very simple problem.
Sendmail doesn't require root, of course it doesn't since the mail system and each user calls it! I use sendmail from my C...
Your code looks basically correct using long ints... but when you print the result out you are using %d as your format specifier... this is not the correct format specifier for a long int. Try using...
A few notes. The "conversion from double to float" is usually no big deal, but as a tip you should probably declare all your floating point variables to be doubles anyway, then you don't have to...
You can use sprintf, but you have to be careful because the string variable that you sprintf into must be large enough to hold argv value. You could say "Oh well it will probably be smaller than 256...