Home > Back-end >  A novice for help! How to reference points in the structure?
A novice for help! How to reference points in the structure?

Time:10-19

Well,,,, the teacher gave a homework assignments, but how he run is error,
Write a function of the output? But I can't,,,,
For your guidance!

CodePudding user response:

Write an output function, similar to input the function parameter, the return value to set yourself, or you return void

CodePudding user response:

How are you this function defined

CodePudding user response:

Is to write an output function
Put your code//void the output (struct point); The lines open, and add a semicolon at the line finally,
Then at the end of the code to add
Void the output (struct point p) {
Printf (" (% d, % d) ", p.x, p.y);
}
  • Related