I would like to hear some thoughts about two different ways to code.
Would you put all variables int the beginning of the class and after that the functions, or do you mix them around?

Lets say you have a function that uses a list of integers. That list is only used by that function. Would you do
Code:
class A
{
   int a;
   int b;
   int list[20];
   ....
   void fun1();
   void fun2();
   void listFun();
   ...
};
or
Code:
class A
{
   int a;
   int b;   
   ....
   void fun1();
   void fun2();
   int list[20];
   void listFun();
   ...
};