Search:

Type: Posts; User: Austin

Search: Search took 0.00 seconds.

  1. I think I found a way to do it

    In main() I can write the variable value into a txt file, and inside each function that needs that value, I can have a statement that reads it from the txt file.

    This way, I can define my variable...
  2. The existing program has a function takes in a...

    The existing program has a function takes in a vector of variables and passes them through a corresponding vector of functions. There's an iterative procedure that eventually zeroes out the...
  3. Thank you

    Thanks everyone for taking the time to post. The full story is this. I was given a somewhat complicated program that solves nonlinear sets of equations, and I am modifying it so that it can handle...
  4. Make a variable available everywhere without passing?

    Can I define a variable in main() in such a way that I can use it within functions called by main without having to pass it to the functions? Thanks in advance.

    Austin
Results 1 to 4 of 4