Translations:KDevelop5/Manual/Working with source code/176/en: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
<syntaxhighlight lang="cpp" line> | |||
for (typename Triangulation<dim,spacedim>::active_cell_iterator; | for (typename Triangulation<dim,spacedim>::active_cell_iterator; | ||
cell = triangulation.begin_active(); | cell = triangulation.begin_active(); | ||
cell != triangulation.end(); ++cell) | cell != triangulation.end(); ++cell) | ||
... do something with the cell ... | ... do something with the cell ... | ||
</ | </syntaxhighlight> |
Latest revision as of 08:38, 2 April 2020
for (typename Triangulation<dim,spacedim>::active_cell_iterator;
cell = triangulation.begin_active();
cell != triangulation.end(); ++cell)
... do something with the cell ...