Original Post
I've seen countless times that there are MANY different ways to deal with brackets. I was wondering which bracket syntax you all use and why....
1.
int main(){
Code here...
}
2.int main()
{
Code here...
{
3.int maint()
{
Code here...
}
I've experimented with all over and over again and I have to say that I prefer the first one because it takes up less room.
Which one do you prefer and why?
[EDIT] Added #3.
- Rob Loach
Current Project: Upgrade to .NET and DirectX 9
"Do or do not. There is no try."
- Yoda
[edited by - Rob Loach on April 22, 2003 9:55:40 AM]