forked from pearcej/cpp4python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathArrayIteration.cpp.ptx
More file actions
2 lines (1 loc) · 1001 Bytes
/
ArrayIteration.cpp.ptx
File metadata and controls
2 lines (1 loc) · 1001 Bytes
1
2
<raw format="html" xml:space="preserve"><script type="text/javascript">function CodeChat_doStyle(element) {function walk_tree(elements,func_walk,func_child) {let walk_children = [];for (let index = 0; index < elements.length; ++index) {let that = elements[index];while (that && !func_walk(that)) {that = that.parentElement;}if (that) {that = func_walk(that);walk_children.push(that);while (that && func_child(that)) {that = func_child(that);walk_children.push(that);}}}return walk_children;};element = (typeof element !== 'undefined') ? element : document;let code = element.getElementsByClassName("fenced-code");walk_tree(code, x => x.nextElementSibling, x => x.firstElementChild).map(x =>x.classList.add('CodeChat_noTop'));walk_tree(code, x => x.previousElementSibling, x => x.lastElementChild).map(x =>x.classList.add('CodeChat_noBottom'));}document.addEventListener("DOMContentLoaded", function(event) { CodeChat_doStyle(); });</script></raw>