Search:

Type: Posts; User: Gsibbery

Search: Search took 0.00 seconds.

  1. Thread: scanf

    by Gsibbery
    Replies
    7
    Views
    1,876

    Ok, thanks. That might make it a little easier to...

    Ok, thanks. That might make it a little easier to get a grip on all of these functions that people keep mentioning. :)
  2. Replies
    3
    Views
    1,297

    Why exactly would it degenerate into that? I...

    Why exactly would it degenerate into that? I don't see why thatis the case, although I can see that the initial statement was wrong.
  3. Thread: scanf

    by Gsibbery
    Replies
    7
    Views
    1,876

    OK, thanks. One more question. Can you look up...

    OK, thanks. One more question. Can you look up every function in C with the man pages on a UNIX system? I've noticed that i can do that for some, but have only tried a few so far.
  4. Thread: scanf

    by Gsibbery
    Replies
    7
    Views
    1,876

    scanf

    I have been writing a program that uses scanf to scan in a number. It doesn't seem to work very well. I have heard that scanf does not do error checking. But is there a way to check the return status...
  5. Replies
    6
    Views
    1,256

    That never fails to get me. Thanks.

    That never fails to get me. Thanks.
  6. Replies
    6
    Views
    1,256

    OK, thanks. For some reason, when I was trying...

    OK, thanks. For some reason, when I was trying that in my program, the values were not being modified. I'll give it another go. Thanks again.
  7. Replies
    6
    Views
    1,256

    "a, b and c are all floating point variables. Why...

    "a, b and c are all floating point variables. Why are you treating them as integers?"

    A darn good question. And probably art of my problem.

    I took a C class some time ago and the teacher told...
  8. Replies
    6
    Views
    1,256

    Computing Problem

    I am trying to code a program to solve quadratic equations. The problem is that after entering the input data, the program just seems to terminate and I can't figure out why. The code is:


    ...
  9. Replies
    30
    Views
    4,998

    You can store a single ASCII character in a...

    You can store a single ASCII character in a variable of type "char". All other basic types are for storing numeric data (double, float, long, short, int). You can also use the char type in...
Results 1 to 9 of 9