<?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[Erste Schritte mit C++]]></title><description><![CDATA[<p>Hallo, ich möchte nun endlich anfangen eine C Sprache zu Lernen. Ich Kann Bereits C#, Java, VB, ASP, PHP, VBA nun folgende fragen hätte ich wäre nett wenn mir diese Jemand erklären kann</p>
<p>1 Welche Sprache ist Besser und Umfangreicher<br />
2 Welche Sprache ist einfacher zu Lernen<br />
3 Kann ich das Visual Studio 2012 Express Verwenden für C ?<br />
4 Was ist eine Header Datei ?<br />
5 Giebt es Irgendwo Kostenlose Bücher ?</p>
<p>Grüße Andy</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/319210/erste-schritte-mit-c</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 05:16:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/319210.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 Aug 2013 12:01:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 12:01:49 GMT]]></title><description><![CDATA[<p>Hallo, ich möchte nun endlich anfangen eine C Sprache zu Lernen. Ich Kann Bereits C#, Java, VB, ASP, PHP, VBA nun folgende fragen hätte ich wäre nett wenn mir diese Jemand erklären kann</p>
<p>1 Welche Sprache ist Besser und Umfangreicher<br />
2 Welche Sprache ist einfacher zu Lernen<br />
3 Kann ich das Visual Studio 2012 Express Verwenden für C ?<br />
4 Was ist eine Header Datei ?<br />
5 Giebt es Irgendwo Kostenlose Bücher ?</p>
<p>Grüße Andy</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344816</guid><dc:creator><![CDATA[Andy16823]]></dc:creator><pubDate>Sat, 10 Aug 2013 12:01:49 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 12:08:53 GMT]]></title><description><![CDATA[<p>1.- Ja</p>
<p>2.- Das kommt drauf an. Da du ja schon Java und C# kannst, wirst du viele Dinge aus C++ wiedererkennen. Aber du wirst auch einige Stolpersteine finden, die du in Java und C# nicht hast (weil Garbage Collection z.B.).</p>
<p>3.- Ja, jeder C++ Compiler ist abwärtskompatibel zu C. (Visual Studio ist für mich persönlich auch das NonPlusUltra der IDE's)</p>
<p>4.- Das lernst du am besten in einem Buch deiner Wahl oder auch in irgendeinem Tutorial oder Forumsbeitrag.</p>
<p>5.- Jain, es gibt glaube ich so Späße von Galileo Computing, aber das sind eben nur Späße und für Anfänger nicht zu empfehlen. Guck mal <a href="http://www.c-plusplus.net/forum/310212" rel="nofollow">hier</a> durch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344818</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344818</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Sat, 10 Aug 2013 12:08:53 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 13:05:48 GMT]]></title><description><![CDATA[<blockquote>
<p>Ja, jeder C++ Compiler ist abwärtskompatibel zu C.</p>
</blockquote>
<p>NEIN!?</p>
<blockquote>
<p>Giebt es Irgendwo Kostenlose Bücher ?</p>
</blockquote>
<p>Ja, Thinking in C++ V. 1 &amp; 2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344824</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 10 Aug 2013 13:05:48 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 13:10:50 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<blockquote>
<p>Ja, jeder C++ Compiler ist abwärtskompatibel zu C.</p>
</blockquote>
<p>NEIN!?</p>
</blockquote>
<p>Beweise?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344825</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344825</guid><dc:creator><![CDATA[out]]></dc:creator><pubDate>Sat, 10 Aug 2013 13:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 13:16:00 GMT]]></title><description><![CDATA[<p>out schrieb:</p>
<blockquote>
<p>Sone schrieb:</p>
<blockquote>
<blockquote>
<p>Ja, jeder C++ Compiler ist abwärtskompatibel zu C.</p>
</blockquote>
<p>NEIN!?</p>
</blockquote>
<p>Beweise?</p>
</blockquote>
<pre><code>int *i = malloc(1);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2344826</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344826</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sat, 10 Aug 2013 13:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 13:25:54 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>out schrieb:</p>
<blockquote>
<p>Sone schrieb:</p>
<blockquote>
<blockquote>
<p>Ja, jeder C++ Compiler ist abwärtskompatibel zu C.</p>
</blockquote>
<p>NEIN!?</p>
</blockquote>
<p>Beweise?</p>
</blockquote>
<pre><code>int *i = malloc(1);
</code></pre>
</blockquote>
<p>Fehlt da echt so viel Typsicherheit? Das ist hart...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344827</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344827</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Sat, 10 Aug 2013 13:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 15:35:56 GMT]]></title><description><![CDATA[<p>C++: <a href="https://ideone.com/YeFMQF" rel="nofollow">https://ideone.com/YeFMQF</a><br />
C: <a href="https://ideone.com/eAo8xo" rel="nofollow">https://ideone.com/eAo8xo</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344847</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344847</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sat, 10 Aug 2013 15:35:56 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 15:54:37 GMT]]></title><description><![CDATA[<p>cooky451 schrieb:</p>
<blockquote>
<p>C++: <a href="https://ideone.com/YeFMQF" rel="nofollow">https://ideone.com/YeFMQF</a><br />
C: <a href="https://ideone.com/eAo8xo" rel="nofollow">https://ideone.com/eAo8xo</a></p>
</blockquote>
<p>Das kann man auch noch eine Stufe weiter treiben:<br />
C++: <a href="https://ideone.com/oHqzmY" rel="nofollow">https://ideone.com/oHqzmY</a><br />
C: <a href="https://ideone.com/gG3fJ0" rel="nofollow">https://ideone.com/gG3fJ0</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344851</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344851</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sat, 10 Aug 2013 15:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 16:46:22 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>cooky451 schrieb:</p>
<blockquote>
<p>C++: <a href="https://ideone.com/YeFMQF" rel="nofollow">https://ideone.com/YeFMQF</a><br />
C: <a href="https://ideone.com/eAo8xo" rel="nofollow">https://ideone.com/eAo8xo</a></p>
</blockquote>
<p>Das kann man auch noch eine Stufe weiter treiben:<br />
C++: <a href="https://ideone.com/oHqzmY" rel="nofollow">https://ideone.com/oHqzmY</a><br />
C: <a href="https://ideone.com/gG3fJ0" rel="nofollow">https://ideone.com/gG3fJ0</a></p>
</blockquote>
<p>Also da steige ich aus. Das eine Entität Deklariert sein muss, bevor man sie benutzen kann, ist für mich selbstverständlich.</p>
<p>Es gibt übrigens ein riesiges Kapitel über Kompabilität im C++-Standard: §C.1.</p>
<p>Ein paar Auszüge:</p>
<blockquote>
<p><strong>Change:</strong> Type of character literal is changed from int to char<br />
<strong>Rationale:</strong> This is needed for improved overloaded function argument type matching. For example:</p>
<pre><code>int function( int i );
int function( char c );
function( ’x’ );
</code></pre>
<p>It is preferable that this call match the second version of function rather than the first.<br />
<strong>Effect on original feature:</strong> Change to semantics of well-defined feature. ISO C programs which depend on</p>
<pre><code>sizeof(’x’) == sizeof(int)
</code></pre>
<p>will not work the same as C++ programs.<br />
<strong>Difficulty of converting:</strong> Simple.<br />
<strong>How widely used:</strong> Programs which depend upon sizeof(’x’) are probably rare.<br />
Subclause 2.14.5:</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2344861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344861</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 10 Aug 2013 16:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 16:48:24 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Also da steige ich aus. Das eine Entität Deklariert sein muss, bevor man sie benutzen kann, ist für mich selbstverständlich.</p>
</blockquote>
<p>Ist es ja auch, nur deklariert die Verwendung das Symbol implizit. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344864</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sat, 10 Aug 2013 16:48:24 GMT</pubDate></item><item><title><![CDATA[Reply to Erste Schritte mit C++ on Sat, 10 Aug 2013 16:51:50 GMT]]></title><description><![CDATA[<blockquote>
<p><strong>Change:</strong> String literals made const<br />
The type of a string literal is changed from “array of char” to “array of const char.”<br />
The type of a char16_t string literal is changed from “array of some-integer-type” to “array of const char16_t.”<br />
The type of a char32_t string literal is changed from “array of some-integer-type” to “array of const char32_t.”<br />
The type of a wide string literal is changed from “array of wchar_t” to “array of const wchar_t.”<br />
<strong>Rationale:</strong> This avoids calling an inappropriate overloaded function, which might expect to be able to<br />
modify its argument.<br />
<strong>Effect on original feature:</strong> Change to semantics of well-defined feature.<br />
<strong>Difficulty of converting:</strong> Syntactic transformation. The fix is to add a cast:</p>
<pre><code>char* p = &quot;abc&quot;; // valid in C, invalid in C++
void f(char*) 
{
    char* p = (char*)&quot;abc&quot;; // OK: cast added
    f(p);
    f((char*)&quot;def&quot;); // OK: cast added
}
</code></pre>
<p><strong>How widely used:</strong> Programs that have a legitimate reason to treat string literals as pointers to potentially modifiable memory are probably rare.</p>
</blockquote>
<p>Dazu noch ganz geile Sachen wie</p>
<blockquote>
<p><strong>Change:</strong> C++ does not have “tentative definitions” as in C E.g., at file scope,</p>
<pre><code>int i;
int i;
</code></pre>
<p>is valid in C, invalid in C++. This makes it impossible to define mutually referential file-local static objects, if initializers are restricted to the syntactic forms of C.<br />
For example,</p>
<pre><code>struct X { int i; struct X *next; };
static struct X a;
static struct X b = { 0, &amp;a };
static struct X a = { 1, &amp;b };
</code></pre>
<p><strong>Rationale:</strong> This avoids having different initialization rules for fundamental types and user-defined types.<br />
<strong>Effect on original feature:</strong> Deletion of semantically well-defined feature.<br />
<strong>Difficulty of converting:</strong> Semantic transformation.<br />
Rationale: In C++, the initializer for one of a set of mutually-referential file-local static objects must invoke<br />
a function call to achieve the initialization.<br />
<strong>How widely used</strong>: Seldom.</p>
</blockquote>
<blockquote>
<p><strong>Change</strong>: Main cannot be called recursively and cannot have its address taken<br />
<strong>Rationale</strong>: The main function may require special actions.<br />
<strong>Effect on original feature</strong>: Deletion of semantically well-defined feature<br />
<strong>Difficulty of converting</strong>: Trivial: create an intermediary function such as mymain(argc, argv).<br />
<strong>How widely used</strong>: Seldom</p>
</blockquote>
<p>Edit: Mir fällt gerade auf, ich könnte so C lernen... einfach dieses Kompabilitätskapitel durchackern...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2344865</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2344865</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 10 Aug 2013 16:51:50 GMT</pubDate></item></channel></rss>