Search code examples
cregion

is directive #region, visual studio only?


I am using the visual studio directive #region and I would like to know if that directive is only for Visual Studio IDE or it it is also recognised in a Linux IDE ?

Im afraid of portability issues.


Solution

  • #region is not part of the C standard. I would assume that it is only recognized by Visual Studio.