Home > Back-end >  Basic knowledge of c for help
Basic knowledge of c for help

Time:11-11

Why not here???????

CodePudding user response:

The scope of the variable problem,,,

Outside the put function, you declare the
Int a [N] [N].

Your function void put (c int a, b int, int, int d, int e)

Then put inside the function, when you use the variable "a", "a" represents the put function at this time of the first parameter, namely "int a", rather than on the outside of the function declaration "int a [N] [N]"

The solution:
To make the "int a [N] [N]." Have to do is change the variable name, such as "int p [N] [N]."

CodePudding user response:

Const int N=10000;
Int a [N] [N].
So make, stack enough?

CodePudding user response:

references the frog studio reply: 3/f
const int N=10000;
Int a [N] [N].
So make, stack enough?


The somebody else is a global variable,

CodePudding user response:

reference 4 floor ooolinux response:
Quote: refer to the frog studio reply: 3/f

Const int N=10000;
Int a [N] [N].
So make, stack enough?


The somebody else is a global variable,


Or you badly, I didn't notice it is global,

CodePudding user response:

Looks like the old frog studio as the little green frog studio ~ ~ ~

CodePudding user response:

refer to 6th floor early play big play nuclear response:
it seems old frog studio as the little green frog studio ~ ~ ~

The old frog in the network time is long, level is not high,

CodePudding user response:

没注意,谢谢啦

CodePudding user response:

refer to 6th floor early play big play nuclear response:
it seems old frog studio as the little green frog studio ~ ~ ~

Words, then, large waste practice, practice a trumpet...

CodePudding user response:

references 9/f, the frog studio reply:
Quote: refer to the sixth floor early play big play nuclear war reply:

Looks like the old frog studio as the little green frog studio ~ ~ ~

Words, then, large waste practice, practice a trumpet...


What do you suggest ~ ~ ~

CodePudding user response:

Problem has been resolved, the original poster to knot,
@ play big play nuclear war we so early slanting floor really good yao
  • Related