As I'm writing applications using C++ .NET framework I want to ask a question.
When I am writing code exactly for "for loop" I always use this style of coding:
for( int i=0; i<somevalue; ++i ) {
// Some code goes here.
}
but as I am using C++ .NET I can write
for( System::Int32 i=0; i<somevalue; ++i ) {
// Some code goes here.
}
I think there are no difference Am I right ? If no can you explain whats the difference between this two ways and. witch one is more effective ?