<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C on [ MECANIK DEV ]</title><link>https://mecanik.dev/en/tags/c/</link><description>Recent content in C on [ MECANIK DEV ]</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2020-{year} by [ MECANIK DEV ]. All Rights Reserved.</copyright><lastBuildDate>Sat, 15 Apr 2023 18:24:00 +0100</lastBuildDate><atom:link href="https://mecanik.dev/en/tags/c/index.xml" rel="self" type="application/rss+xml"/><item><title>Learn Programming Fundamentals: Choosing the Right Language</title><link>https://mecanik.dev/en/posts/learn-programming-fundamentals-choosing-the-right-language/</link><pubDate>Sat, 15 Apr 2023 18:24:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/learn-programming-fundamentals-choosing-the-right-language/</guid><description>&lt;p>Embarking on a journey into the world of programming can be both exciting and overwhelming. With countless programming languages to choose from, it&amp;rsquo;s essential to pick the right one that aligns with your goals and aspirations.&lt;/p>
&lt;p>In this article, we will explore the factors to consider when choosing your first programming language and provide examples of code in popular languages to help illustrate the differences between them.&lt;/p>
&lt;h2 id="factors-to-consider-when-choosing-a-programming-language">Factors to Consider When Choosing a Programming Language&lt;/h2>
&lt;ol>
&lt;li>&lt;strong>Career Goals&lt;/strong>: If you plan to pursue a career in software development, it&amp;rsquo;s essential to research which programming languages are in demand for the industries you&amp;rsquo;re interested in.&lt;/li>
&lt;li>&lt;strong>Learning Curve&lt;/strong>: Some languages have a steeper learning curve than others. For beginners, it&amp;rsquo;s beneficial to start with a language that has a gentle learning curve and is easy to understand.&lt;/li>
&lt;li>&lt;strong>Community and Support&lt;/strong>: A large, active community makes it easier to find solutions to common problems and learn best practices. Consider languages with extensive documentation and support resources.&lt;/li>
&lt;li>&lt;strong>Platform Compatibility&lt;/strong>: Ensure the language you choose is compatible with the platforms you intend to target, such as web, mobile, or desktop applications.&lt;/li>
&lt;li>&lt;strong>Personal Preference&lt;/strong>: Finally, your personal preferences and interests will play a role in your decision. Choose a language that you enjoy working with and feel motivated to learn.&lt;/li>
&lt;/ol>
&lt;h2 id="popular-programming-languages-and-examples">Popular Programming Languages and Examples&lt;/h2>
&lt;p>To give you a better idea of what different programming languages look like, let&amp;rsquo;s examine a simple task: printing &amp;ldquo;Hello, World!&amp;rdquo; in several popular languages.&lt;/p></description></item><item><title>C++ data types to .NET</title><link>https://mecanik.dev/en/posts/c++-data-types-to-.net/</link><pubDate>Fri, 26 Feb 2021 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/c++-data-types-to-.net/</guid><description>&lt;p>If you are playing around with .NET and you come from a C/C++ background like myself, you will quickly notice the data types are different.&lt;/p>
&lt;p>This post covers most common data types from C/C++ to .NET (C#) for your convenience in development. When you search for a data type just hit CTRL + F and the browser will help you find it on this page.&lt;/p>
&lt;p>Special thanks to kbrryder @ codeproject.&lt;/p></description></item><item><title>How to write Mini Dump on software crash</title><link>https://mecanik.dev/en/posts/how-to-write-mini-dump-on-software-crash/</link><pubDate>Thu, 24 Sep 2020 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/how-to-write-mini-dump-on-software-crash/</guid><description>&lt;p>Sorry for not writing anything interesting this month so far, it’s been a very hectic month.&lt;/p>
&lt;p>Today I saw a question on &lt;a href="https://stackoverflow.com/questions/787334/how-to-keep-visual-studio-debugger-visualizers-from-timing-out" target="_blank" rel="nofollow noopener noreferrer">Stack Overflow&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 regarding debugging. The user was trying to let Visual Studio run in debug mode with his application to see when and why it crashes.&lt;/p></description></item><item><title>Convert DOS and NT paths using RTL functions</title><link>https://mecanik.dev/en/posts/convert-dos-and-nt-paths-using-rtl-functions/</link><pubDate>Thu, 13 Aug 2020 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/convert-dos-and-nt-paths-using-rtl-functions/</guid><description>&lt;p>If you are here reading this post, it means you are looking for a way to convert your DOS and/or NT paths for your software. Rest assured that this is what you will learn here today!&lt;/p>
&lt;p>The problem with &lt;a href="https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats" target="_blank" rel="nofollow noopener noreferrer">Windows paths&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 are clear; it’s so confusing. Let me repeat that, so confusing. This becomes a problem when you are working on your amazing piece of software and you need to convert DOS and NT paths.&lt;/p></description></item><item><title>Runtime encrypted strings: Part 1</title><link>https://mecanik.dev/en/posts/runtime-encrypted-strings-part-1/</link><pubDate>Sun, 24 May 2020 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/runtime-encrypted-strings-part-1/</guid><description>&lt;h2 id="runtime-encrypted-strings">Runtime Encrypted Strings&lt;/h2>
&lt;p>Today we will go through the basics of runtime encrypted strings, why do we need to encrypt our strings and learn how to create our own.&lt;/p>
&lt;p>In this article you will understand and learn:&lt;/p>
&lt;ul>
&lt;li>What is runtime encryption and decryption&lt;/li>
&lt;li>Why do you need to encrypt your strings&lt;/li>
&lt;li>See how anybody can see your sensitive data&lt;/li>
&lt;li>Create your own custom encryption&lt;/li>
&lt;/ul>
&lt;h2 id="what-is-runtime-encryption-and-decryption">What is runtime encryption and decryption&lt;/h2>
&lt;p>This refers to data encrypted and/or decrypted during the runtime of a program (software, application). The data can be of any type from memory blocks, network traffic, strings, etc.&lt;/p></description></item></channel></rss>