Search:

Type: Posts; User: Tclausex

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    2,305

    You did not fix your scanf() problem. As I said,...

    You did not fix your scanf() problem. As I said, scanf requires an the address of a variable. Line 34 of last post.
  2. Replies
    18
    Views
    2,305

    Look at line 7. edit: You are not getting...

    Look at line 7.

    edit:

    You are not getting the error from the return value, however, you should probably define your function so that it returns 'int' instead of 'long'. If you insist on long,...
  3. Replies
    18
    Views
    2,305

    scanf() requires a memory location (address) to...

    scanf() requires a memory location (address) to store the value of what it reads/converts. When you use the name of a variable that is an integer or float type, the name is evaluated for the value...
Results 1 to 3 of 3