Variable outside brackets?
Hello World.
I'm sure this is a C++ related question. I created a variable inside a bracked {} and I'm filling it with content in it.. Code:
{ Do you know how this can be done?! |
Dear Sega,
define it outside, not inside. Henrik |
And I can access the variable inside the bracket if defined outside?!
|
Dear Sebastian,
of course. Have a look at icoFoam. p is defined outside of the PISO-loop, but used within. Henrik |
All times are GMT -4. The time now is 01:59. |