How does perl relate?? There are major differences in syntax, scope, etc. You are not directly responsable for memory management, etc. But perl allows you to get pretty "C"ish with your code if you like.

That said, Perl will familiarize you with loops, cases, and good logical program flow. Most any language will do this. Perl, however, also supports OO, Modules (aka libraries), references, etc... These are essential for a C/C++ programmer. Using Komodo or other IDE will acquaint you with an IDE and a debugger as well.

Finally the perl to C translators are good because you can see your perl program flow implemented in the other language. Also, the clean-up will acquaint you with C without having to start the project that way. (Which can be daunting.)

To make a catchy phrase out of it, How much does learning welding prepare you for blacksmithing??

But if you are planning to program C/C++, you could do worse than perl.

~Hammy


In reply to Re: Perl to C to C+ to C++ to Visual C++ by HamNRye
in thread Perl to C to C+ to C++ to Visual C++ by void

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.