Hey everyone, I just discovered the C++ equivalent to the C# compiler directive #region.
#pragma region MY_REGION
//some stuff
#pragma endregion
//some stuff
#pragma endregion
If you're using Visual Studio, you also get the nice region collapsing feature.
04/07/2009 - 15:04
Sweet.
Add Comment
[language] [/language]
Examples:
[javascript] [/javascript]
[actionscript] [/actionscript]
[csharp] [/csharp]
See here for supported languages.
Javascript must be enabled to submit anonymous comments - or you can login.