<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: sydney</title>
    <description>The latest articles on DEV Community by sydney (@syd_71).</description>
    <link>https://dev.to/syd_71</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1076925%2F01f67746-3a88-451d-a946-53ff0e185ec0.jpg</url>
      <title>DEV Community: sydney</title>
      <link>https://dev.to/syd_71</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/syd_71"/>
    <language>en</language>
    <item>
      <title>updating g++ compiler</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Mon, 31 Jul 2023 17:04:35 +0000</pubDate>
      <link>https://dev.to/syd_71/updating-g-compiler-45jc</link>
      <guid>https://dev.to/syd_71/updating-g-compiler-45jc</guid>
      <description>&lt;p&gt;I updated my MinGW compiler to the latest version and now when I look at g++ --version I get 201703 which I believe is version C++17!  Unfortunately I'm looking at a tutorial that requires C++20!  So does anyone know where to go to download version 20?  I thought that the MinGW website had the latest and greatest version, but it seems that I am wrong in this assumption. Not the end of the world, but I would like to explore threads, so I need to update to version 20. Advice welcome on this one.&lt;br&gt;
sydney / wt1v&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>discuss</category>
      <category>development</category>
    </item>
    <item>
      <title>updating compile for DevC++</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Mon, 03 Jul 2023 02:10:21 +0000</pubDate>
      <link>https://dev.to/syd_71/updating-compile-for-devc-49ep</link>
      <guid>https://dev.to/syd_71/updating-compile-for-devc-49ep</guid>
      <description>&lt;p&gt;I need to update the compiler in the DevC++ IDE. Maybe the tools/compiler options or the package manager is what I am looking for to do this task? I did look at the compilers for this IDE and they do seem to be a little bit on the older side, so it will not work with some of the newer features like supporting the string_view library! The documentation on how to update the compiler is non-existent as far as I can see!&lt;br&gt;
syd/wt1v&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>developer</category>
      <category>help</category>
    </item>
    <item>
      <title>string_view library</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Sat, 01 Jul 2023 17:40:51 +0000</pubDate>
      <link>https://dev.to/syd_71/stringview-library-5118</link>
      <guid>https://dev.to/syd_71/stringview-library-5118</guid>
      <description>&lt;p&gt;I have this project that includes .  When I go to compile the project I get "[Error] string_view: No such file or directory" from the compiler. Sounds like a compiler issue but I have no idea what to do to fix it! Anyone know how to  fix this problem? &lt;br&gt;
syd / wt1v&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>cplusplus code example won't compile</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Wed, 28 Jun 2023 17:01:11 +0000</pubDate>
      <link>https://dev.to/syd_71/cplusplus-code-example-wont-compile-56l9</link>
      <guid>https://dev.to/syd_71/cplusplus-code-example-wont-compile-56l9</guid>
      <description>&lt;p&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;&lt;br&gt;
class base_class {&lt;br&gt;
    public:&lt;br&gt;
        virtual void vf1() = 0; //pure virtual&lt;br&gt;
        virtual void vf2();&lt;br&gt;
        virtual void vf3();&lt;br&gt;
};&lt;br&gt;
class derived_class : public base_class {&lt;br&gt;
    public:&lt;br&gt;
        void vf1(); // OK if it is virtual also&lt;br&gt;
//      virtual void vf1();&lt;br&gt;
//      virtual void vf2(int);&lt;br&gt;
        virtual void vf3();&lt;br&gt;
};&lt;br&gt;
int main(int argc, char** argv) {&lt;br&gt;
//1 derived_class d;&lt;br&gt;
//2 base_class *bp = &amp;amp;d;&lt;br&gt;
//3 bp-&amp;gt;vf1();&lt;br&gt;
//4 bp-&amp;gt;vf2();&lt;br&gt;
//5 d.vf2();&lt;br&gt;
}&lt;br&gt;
ERROR MSG: undefined reference to&lt;/code&gt;vtable for derived_class'&lt;/p&gt;

&lt;p&gt;This code example, from cplusplus.com, does not compile when any of lines 1-5 are put in! It does when they are commented out, so the classes are OK. The error, line 1 in, points to the makefile line where the .exe file is created from the .o file! The .o file is in the project directory so that is not the problem.  Creating the .exe file is. The above error msg is what I get when I compile with line 1 installed! Help!&lt;br&gt;
syd / wt1v&lt;br&gt;
`&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>discuss</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>attaching to a post</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Wed, 28 Jun 2023 16:22:00 +0000</pubDate>
      <link>https://dev.to/syd_71/attaching-to-a-post-1o0i</link>
      <guid>https://dev.to/syd_71/attaching-to-a-post-1o0i</guid>
      <description>&lt;p&gt;I was going to make a post about problems with virtual functions and needed to attach some code snippets so anyone can see what I am talking about. It would be useless to talk about code without making an attached file of the code. I've done this same thing on several other forums, but I have yet to figure out how to do so with this forum.  If I can't make a post with an attached file then this forum is useless!  Please tell me I am missing something here!&lt;br&gt;
syd / wt1v&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>beginners</category>
      <category>help</category>
    </item>
    <item>
      <title>adding a new file to a DevC++ project</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Wed, 21 Jun 2023 14:21:44 +0000</pubDate>
      <link>https://dev.to/syd_71/adding-a-new-file-to-a-devc-project-37o6</link>
      <guid>https://dev.to/syd_71/adding-a-new-file-to-a-devc-project-37o6</guid>
      <description>&lt;p&gt;When I create a new project, sooner or later I will want to add in some .h and .cpp files to the project. Selecting new file adds a file into the project and it's name is untitled1!  Looking around at the properties menu and everything else that I could find, I still could not find any way of renaming the useless default name of the new file that I added to the project. One work around that I found is to create a new .txt file and rename it, and then add the empty renamed file into the project. I could also remove the untitled file from the project, then rename it to what I need, and then add this one into the project. There should be a simple way to rename the untitled file so I won't have to go through this fiasco!&lt;br&gt;
syd / wt1v&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cpp</category>
      <category>programming</category>
    </item>
    <item>
      <title>vector code not compiling</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Mon, 19 Jun 2023 15:49:32 +0000</pubDate>
      <link>https://dev.to/syd_71/vector-code-not-compiling-3pbg</link>
      <guid>https://dev.to/syd_71/vector-code-not-compiling-3pbg</guid>
      <description>&lt;p&gt;I have this vector project that I made from some sites that contain example code using vectors. None of these&lt;br&gt;
examples compile. Then, out of the blue, I got a header file that opened up with one line of code high lighted!&lt;br&gt;
I have no idea how the DevC++ IDE opened this header file for the vector include library. One line was highlighted! It mentioned that I had to use a compiler parameter:  "-std=C++1". So I went into compiler options and put this line in the C++ compiler parameters. Voila, now everything is compiling and the code example works as expected!!! So why didn't the original compiler work with vectors? I have no idea why that header file showed up? If I hadn't gotten lucky with that vector header file showing up, how would I have even solved the problem?&lt;br&gt;
syd / wt1v&lt;/p&gt;

</description>
      <category>programming</category>
      <category>coding</category>
    </item>
    <item>
      <title>design pattern won't work</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Sat, 10 Jun 2023 23:19:04 +0000</pubDate>
      <link>https://dev.to/syd_71/design-pattern-wont-work-44mg</link>
      <guid>https://dev.to/syd_71/design-pattern-wont-work-44mg</guid>
      <description>&lt;p&gt;I was going to post an article about some C++ code that compiles but doesn't do anything upon opening the command window when run. There is no COUT presented in the window. All I get is a message&lt;br&gt;
"process exited after 9.75 secs with return value 255"!!!&lt;br&gt;
I tried running it in the debugger with a break point right after the main() so could enter into the code to see what is screwed up but all I get is the same error message and the break point seems to be ignored! The code compiles with no errors and warnings. I was going to attach the code to this post, but I don't see any way of making an attachment. Strange, attaching to a post works in all the other forums that I have joined! Whats going on here?&lt;br&gt;
syd/wt1v &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cpp</category>
    </item>
    <item>
      <title>multiple DevC++ projects</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Sat, 03 Jun 2023 19:50:33 +0000</pubDate>
      <link>https://dev.to/syd_71/multiple-devc-projects-120g</link>
      <guid>https://dev.to/syd_71/multiple-devc-projects-120g</guid>
      <description>&lt;p&gt;I have several projects that I want to make from existing source code files from a C++ book in one folder. If I make a project and then install source files I will have a makefile for this project.  Since I have several source files in the same folder I don't think making more than one project in the same folder will work out well because of multiple makefiles in the same folder. Any ideas on this predicament?&lt;br&gt;
syd/wt1v&lt;/p&gt;

</description>
      <category>programming</category>
      <category>c</category>
      <category>cpp</category>
    </item>
    <item>
      <title>how do I attach images/files</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Fri, 02 Jun 2023 18:21:14 +0000</pubDate>
      <link>https://dev.to/syd_71/how-do-i-attach-imagesfiles-4bo6</link>
      <guid>https://dev.to/syd_71/how-do-i-attach-imagesfiles-4bo6</guid>
      <description>&lt;p&gt;I was going to make a post and I wanted to attach 3 small image files that cover what I'm talking about. But, in this forum I've yet to figure out how to attach files to the posted message on this forum. Is it possible to attach files to a newly created post?  If so, how?&lt;br&gt;
syd/wt1v&lt;/p&gt;

</description>
      <category>c</category>
      <category>cpp</category>
      <category>programming</category>
    </item>
    <item>
      <title>project won't compile</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Tue, 23 May 2023 14:32:26 +0000</pubDate>
      <link>https://dev.to/syd_71/project-wont-compile-300a</link>
      <guid>https://dev.to/syd_71/project-wont-compile-300a</guid>
      <description>&lt;p&gt;I am currently working with an older c algorithms book. I installed all the related .c and .h files into the project, but the compiler complains about "netinet/in.h " not being found even though it is included in the book code.  The include line is #include  and because of the &amp;lt;&amp;gt; brackets I was led to believe that this file is part of the installed library.  I'm developing in a windows environment so I am a little bit confused about where this library file, if it even exist for windows, exists at all.  If there is an alternative header file for windows where would I even go to download it?&lt;br&gt;
sydney&lt;/p&gt;

</description>
      <category>developer</category>
      <category>cpp</category>
    </item>
    <item>
      <title>DevC++ project problem</title>
      <dc:creator>sydney</dc:creator>
      <pubDate>Thu, 18 May 2023 15:35:54 +0000</pubDate>
      <link>https://dev.to/syd_71/devc-project-problem-4c5n</link>
      <guid>https://dev.to/syd_71/devc-project-problem-4c5n</guid>
      <description>&lt;p&gt;I have a DevC++ project that has a file that #includes  netinet/in.h in it, but the compiler can't find this in.h library! The &amp;lt;&amp;gt; brackets that surround the .h include are &amp;lt;&amp;gt; and will not allow the #include to show up in this post. The &amp;lt;&amp;gt; indicate that this library should be in the compilers library of system files. This project was from an old c code book on algorithms, so maybe the code in not compatible with the newer compiler?  How do I solve this library problem?&lt;br&gt;
syd&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
