te some points
</span><span class="kwd">auto </span><span class="pln">xdata </span><span class="pun">= </span><span class="kwd">new </span><span class="typ">float</span><span class="pun">[</span><span class="lit">100</span><span class="pun">];
</span><span class="kwd">auto </span><span class="pln">ydata </span><span class="pun">= </span><span class="kwd">new </span><span class="typ">float</span><span class="pun">[</span><span class="lit">100</span><span class="pun">];

</span><span class="kwd">foreach</span