<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[java übersetzen in c++]]></title><description><![CDATA[<p>hi, bin nicht so der c++ experte und wollte mal fragen ob jemand mir bei der übersetzung helfen kann.?</p>
<p>Möge die macht mit dir sein!</p>
<pre><code class="language-java">double[] x = new double[5];
       double[] y = new double[5];
              try {
           RandomAccessFile f;
           f = new RandomAccessFile(&quot;c:/test.txt&quot;, &quot;r&quot;);
           String line;
           int knoten = 0;
           int s = 0;
           int q = 0;

           while ((line = f.readLine()) != null) {
               if (line.startsWith(&quot;DIMENSION&quot;)) {
                   knoten = Integer.parseInt(line.substring(12));
               }

                              String d = null;
               String e = null;

               String[] t = line.split(&quot; &quot;);

               for (int i = 0; i &lt; t.length; i++) {
                   if (t[i].length() == 10) {
                       d = t[i];
                       x[s++] = Double.parseDouble(d);
                       i++;
                       e = t[i];
                       y[q++] = Double.parseDouble(e);
                   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/135479/java-übersetzen-in-c</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 00:09:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135479.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Feb 2006 13:49:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to java übersetzen in c++ on Thu, 02 Feb 2006 13:49:54 GMT]]></title><description><![CDATA[<p>hi, bin nicht so der c++ experte und wollte mal fragen ob jemand mir bei der übersetzung helfen kann.?</p>
<p>Möge die macht mit dir sein!</p>
<pre><code class="language-java">double[] x = new double[5];
       double[] y = new double[5];
              try {
           RandomAccessFile f;
           f = new RandomAccessFile(&quot;c:/test.txt&quot;, &quot;r&quot;);
           String line;
           int knoten = 0;
           int s = 0;
           int q = 0;

           while ((line = f.readLine()) != null) {
               if (line.startsWith(&quot;DIMENSION&quot;)) {
                   knoten = Integer.parseInt(line.substring(12));
               }

                              String d = null;
               String e = null;

               String[] t = line.split(&quot; &quot;);

               for (int i = 0; i &lt; t.length; i++) {
                   if (t[i].length() == 10) {
                       d = t[i];
                       x[s++] = Double.parseDouble(d);
                       i++;
                       e = t[i];
                       y[q++] = Double.parseDouble(e);
                   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/983955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/983955</guid><dc:creator><![CDATA[A. Skywalker]]></dc:creator><pubDate>Thu, 02 Feb 2006 13:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to java übersetzen in c++ on Thu, 02 Feb 2006 14:34:07 GMT]]></title><description><![CDATA[<p>zu arrays der ersten dimension<br />
<a href="http://www.volkard.de/vcppkold/arrays_und_zeiger.html" rel="nofollow">http://www.volkard.de/vcppkold/arrays_und_zeiger.html</a></p>
<p>zu umwandlung von datentypen<br />
im c++ faq: einmal string nach int und zurück</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984021</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984021</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Thu, 02 Feb 2006 14:34:07 GMT</pubDate></item></channel></rss>