View Single Post
which one is "standard"...
Old
  (#1)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default which one is "standard"... - 16-05-2004

Code:
for (int i = 0; i < 5; i++) {
   ...
}
looks like in MSVC and Borland compiler 5.4 this is same as:
Code:
int i;
for (i = 0; i < 5; i++) {
   ...
}
but in GNU compiler and Visual Studio.NET beta version this is:
Code:
{
   int i;
   for (i = 0; i < 5; i++) {
      ...
   }
}
...so which one is the 'standard' one ?
  
Reply With Quote