Search:

Type: Posts; User: blh

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    9,783

    Yeah I didn't expect for these statements to do...

    Yeah I didn't expect for these statements to do anything specific, it was just a to get me thinking, and I have little experience with pointers. Thank you!
  2. Replies
    6
    Views
    9,783

    Okay I see. That helps, thank you!

    Okay I see. That helps, thank you!
  3. Replies
    6
    Views
    9,783

    Thank so much for your answers! So in the case...

    Thank so much for your answers!

    So in the case of scanf, which is what I have up there, where am I scanning in values when I use &ptr or *ptr.
    I'm not printing in this case.
  4. Replies
    6
    Views
    9,783

    Pointers: & and * when scanning

    Hello, I have a quick question about using & and * when it comes to pointers and scanf.

    If I have



    int *ptr;
    int a = 3, b;
  5. Okay I looked it up and tried some stuff, thank...

    Okay I looked it up and tried some stuff, thank you for the help!
  6. Could you explain how to do that? I've never done...

    Could you explain how to do that? I've never done that before.

    This is an assignment and the user (grader) would enter the file location (which could be anywhere on the computer) so I don't think...
  7. Get a file location in C so the program can read files from this location

    Hello, I'm currently working with a program where I ask the user to input a file path, such as C:\Users\Documents\Data. I take the input from the user and store it in a character array. This file...
Results 1 to 7 of 7