Question

I miss it so much (used it a lot in C#). can you do it in C++?

Was it helpful?

Solution

Yes, you can. See here.

#pragma region Region_Name
//Your content.
#pragma endregion Region_Name

OTHER TIPS

The Visual assist add-in for VC supports regions for c++. Don't know if 2008 has build in regions for C++ though.

For the VBers:

#Region "identifier_string" 
' Your content
#End Region

https://msdn.microsoft.com/en-us/library/sd032a17.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top