Search:

Type: Posts; User: kpw

Search: Search took 0.00 seconds.

  1. Heh, and that's where I'm having trouble. Doing...

    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?
  2. Thanks for the response jv. I'm still a little...

    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.
  3. Copying an array of ints to a float, and vis versa

    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...
  4. Replies
    1
    Views
    1,159

    > IE. Enter a string and output only the number...

    > 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...
  5. Replies
    8
    Views
    1,328

    Thanks guys, the program works now.

    Thanks guys, the program works now.
  6. Replies
    8
    Views
    1,328

    I did try your fscanf() thing, but it doesn't...

    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...
  7. Replies
    8
    Views
    1,328

    The fscanf() return value thing and the isalpha...

    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...
  8. Replies
    8
    Views
    1,328

    How to tell a ASCII char. from a integer

    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...
  9. Replies
    9
    Views
    3,045

    help with input and scanf

    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...
Results 1 to 9 of 9