Search:

Type: Posts; User: jmholber

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,026

    read the man page, check the modes

    i compiled your code ok. it causes a segv.

    read the man page or other documentation for fscanf. use a debugger to see that the problem is the last line of this part of your code:



    void...
  2. Replies
    5
    Views
    1,548

    please post your code

    what you posted is not what you are compiling. please post the code you are compiling

    what you posted will not compile because you define
    Compare(float) but call
    compare(float)

    when i...
  3. Replies
    160
    Views
    276,558

    Sticky: Pointers On C...

    Pointers On C
    Kenneth A. Reek
    ISBN = 0673999866

    Good for programmers experienced with other languages who want to learn C. Covers pointers very well, and has lots of practical advice and...
  4. Replies
    6
    Views
    1,501

    uh... WTF were you thinking?

    uh... WTF were you thinking?
  5. Replies
    6
    Views
    1,501

    the address of the first character

    the string does not get copied to the pointer. the address of the first character of the string gets copied.

    thus printf goes to the address of the beginning of the string and spits out everything...
Results 1 to 5 of 5