1) Choose Project > Properties.
2) In the Properties window that appears, expand the C/C++ General element and choose Code Style.
3) Checkmark the Enable project specific settings option.
4) Use the drop down menu to look at the various code styles.
5) Pick the style that closely matches yours. Click the Edit button.
A Profile window appears, with a lot of options.
---Tom