Heh, and that's where I'm having trouble. Doing the arithmetic on the integer arrays. Could you show me an example of how I could go about doing this?
Type: Posts; User: kpw
Heh, and that's where I'm having trouble. Doing the arithmetic on the integer arrays. Could you show me an example of how I could go about doing this?
Thanks for the response jv. I'm still a little confused though, could you maybe write out some pseudo or real code example of what you were saying. I'd really appreciate it. Thanks.
Hi, I'm having a little trouble trying to figure this out, mostly because I don't really understand bitwise operators.
Let's say we have a integer array num with 10 elements filled with single...
> IE. Enter a string and output only the number of
> characters in the string. I would like to be able to
> feed the data fromt the keyboard or route the input
> from a file.
With input from a...
Thanks guys, the program works now.
I did try your fscanf() thing, but it doesn't work for me, it still isn't stopping at a invalid character like 'c' in the text file, instead it stops at a number. Check it out, I revised it with a...
The fscanf() return value thing and the isalpha stuff didn't really work, or maybe I'm just not seeing something. I attached the code of my program, it isn't a big program, pretty short, so you won't...
Hi, I was working a little program, and I have to figure out how to tell if a character is a "integer" or not in a text file. For example, if I had the following in a text file:
198 cat
I would...
Hi, I've been having a little trouble debugging my friends code here. At the last scanf while executing the program, it seems to just skip it with a enter stroke or something, and doesn't allow me to...