Is there another way to do this without using macro define? : <p>i have write a function like this </p>

<pre><code>int funA(){
//this define is to do something with a,b....z 
#define _MyMacro_ do{\
a....\
b,a...\
z....\
...\
}while(0); 

int a;
char b;
....
float z;

....
if(condition){
_MyMacro_;
}
else if(condition2){
  a++;//just change value
  ...//do some change to a,b,z

  if(...){
     _MyMacro_;
  }
  else{...}
    }

//do something with a,b,...z

_MyMacro_;

...    

}
</code></pre>

<p>i think it's not a good way to use #define 
if i use function</p>

<pre><code>void subfunc(int &amp;a,char &amp;b,.....,float &amp;z)
</code></pre>

<p>maybe it's better,but has a lot of params</p>

<p>i want to know a better way to do this ,thank you </p>
