Search:

Type: Posts; User: std10093

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,773

    I want to add something though :) Declare them...

    I want to add something though :)

    Declare them at the top of the function, not as global variables!

    Why not global variables ( in general )?
    1) In a large program global variables may have the...
  2. Replies
    4
    Views
    1,773

    I do not know what MPI is but is there maybe a...

    I do not know what MPI is but is there maybe a scope lifetime of the variables inside the loop you declared them?If so you could declare them once at top of the function. (But i do not know about MPI...
Results 1 to 2 of 2