Search:

Type: Posts; User: hk_mp5kpdw

Search: Search took 0.06 seconds.

  1. Replies
    11
    Views
    4,118

    What you read into with scanf must be an...

    What you read into with scanf must be an address(pointer). The scanf function must know where to store the data it will be reading/converting. Whether or not that means you use the address-of...
  2. Replies
    11
    Views
    4,118

    That's likely caused by the "warnings" already...

    That's likely caused by the "warnings" already mentioned by ledow:



    You need to store data to a location (a pointer) when using scanf. As an example, this:

    scanf("%lf",degree);
    ...needs to...
Results 1 to 2 of 2