Passing Arrays?
|
03-24-2017, 03:47 PM
(This post was last modified: 03-24-2017 03:51 PM by Han.)
Post: #2
|
|||
|
|||
RE: Passing Arrays?
Both C and COEF are local variables, and therefore their context is restricted to only the subprograms that declare them. Variables are passed by value.
Either declare a local variable outside of the context of the subprograms to hold the coefficient values, or modify your subprogram to return the modified coefficients. For example: Code: // set values of conic coefficient array or Code:
Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Passing Arrays? - toml_12953 - 03-24-2017, 03:40 PM
RE: Passing Arrays? - Han - 03-24-2017 03:47 PM
RE: Passing Arrays? - toml_12953 - 03-24-2017, 05:23 PM
RE: Passing Arrays? - cyrille de brébisson - 03-28-2017, 05:58 AM
|
User(s) browsing this thread: 1 Guest(s)