<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>visual studio | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/category/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Fri, 31 Dec 2021 09:51:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>visual studio | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Did you know? Visual Studio is 32-bit only!</title>
		<link>https://learncgames.com/did-you-know-visual-studio-is-32-bit-only/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=did-you-know-visual-studio-is-32-bit-only</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 21 Mar 2021 00:00:02 +0000</pubDate>
				<category><![CDATA[64-bit]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[32-bit]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2921</guid>

					<description><![CDATA[<p>Update: This is now obsolete as Visual Studio 2022 which appeared in November 2021 is 64-bit.  D&#8217;oh! It&#8217;s quite surprising that in this day and age, that there is still 32-bit software in use. Visual Studio is a prime example.   Windows has been 64-bit for quite a while now. If you look in Task Manager, [&#8230;]</p>
The post <a href="https://learncgames.com/did-you-know-visual-studio-is-32-bit-only/">Did you know? Visual Studio is 32-bit only!</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:89,&quot;href&quot;:&quot;https:\/\/unix.stackexchange.com\/questions\/106234\/determine-if-a-specific-process-is-32-or-64-bit&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260110034729\/https:\/\/unix.stackexchange.com\/questions\/106234\/determine-if-a-specific-process-is-32-or-64-bit&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 11:47:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-12 09:02:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 09:40:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 10:06:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 22:12:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 18:57:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-04 11:55:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-10 11:59:25&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-13 14:30:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-18 15:40:26&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-18 15:40:26&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:90,&quot;href&quot;:&quot;https:\/\/developercommunity.visualstudio.com\/t\/visual-studio-x64-implementation\/1372671&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20220820044348\/https:\/\/developercommunity.visualstudio.com\/t\/visual-studio-x64-implementation\/1372671&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 11:47:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-12 09:02:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 09:40:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 10:06:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 22:12:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 18:57:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-04 11:55:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-10 11:59:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-13 14:30:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-18 15:40:26&quot;,&quot;http_code&quot;:503}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-18 15:40:26&quot;,&quot;http_code&quot;:503},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><strong>Update: This is now obsolete as Visual Studio 2022 which appeared in November 2021 is 64-bit.  D&#8217;oh!</strong></p>
<p>I<img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-2922" src="https://learncgames.com/wp-content/uploads/2021/03/taskmanager-300x235.jpg" alt="Task Manager screenshot" width="300" height="235" srcset="https://learncgames.com/wp-content/uploads/2021/03/taskmanager-300x235.jpg 300w, https://learncgames.com/wp-content/uploads/2021/03/taskmanager.jpg 537w" sizes="(max-width: 300px) 100vw, 300px" />t&#8217;s quite surprising that in this day and age, that there is still 32-bit software in use. Visual Studio is a prime example.   Windows has been 64-bit for quite a while now.</p>
<p>If you look in Task Manager, you&#8217;ll probably notice that programs with a (<em>32 bit</em>) after their name are few and far between.</p>
<p>On the screenshot, only one out of 11 is 32-bit and that&#8217;s pretty typical.  Linux and Mac are probably similar.  Here&#8217;s a s<a title="Link to StackExchange question on 32 or 64-bit." href="https://unix.stackexchange.com/questions/106234/determine-if-a-specific-process-is-32-or-64-bit" target="_blank" rel="nofollow noopener">tackexchange question</a> on how to tell if a process is 32 or 64 bit.</p>
<p>In Visual Studio, it&#8217;s very easy to switch between 32-bit or 64-bit compile target. Unless I have a real need, I go for 32-bit for programs I write because they are typically not going to need over 4 GB of RAM. And 32-bit code usually runs faster than 64-bit because instructions are typically shorter which means more instructions in the execution cache etc.</p>
<p>However some systems have a lot of code and there are people who want a 64-bit version of Visual Studio.  You can r<a title="Link to Visual Studo developer community requests" href="https://developercommunity.visualstudio.com/t/visual-studio-x64-implementation/1372671" target="_blank" rel="nofollow noopener">ead some of their requests here</a>.</p>
<p>I&#8217;m still on a Linux laptop BTW. My new cooler has turned up and tomorrow I hope to install it. The Windows screenshot came from my work laptop which I emailed to myself!</p>The post <a href="https://learncgames.com/did-you-know-visual-studio-is-32-bit-only/">Did you know? Visual Studio is 32-bit only!</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2921</post-id>	</item>
		<item>
		<title>How to count lines of code in Visual Studio</title>
		<link>https://learncgames.com/how-to-count-lines-of-code-in-visual-studio/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-count-lines-of-code-in-visual-studio</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 20 Oct 2020 23:00:45 +0000</pubDate>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[Code metrics]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1640</guid>

					<description><![CDATA[<p>Until this morning, I didn&#8217;t realise that Visual Studio (even the free Community Edition) has this built in. I was curious to see how much code I&#8217;d written so far for my game processing engine.  Development comes in leaps and bounds during evenings and weekends. Visual Studio has Code Metrics in it. You can do [&#8230;]</p>
The post <a href="https://learncgames.com/how-to-count-lines-of-code-in-visual-studio/">How to count lines of code in Visual Studio</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:437,&quot;href&quot;:&quot;https:\/\/docs.microsoft.com\/en-us\/visualstudio\/code-quality\/code-metrics-values?view=vs-2019&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20220819175356\/https:\/\/docs.microsoft.com\/en-us\/visualstudio\/code-quality\/code-metrics-values?view=vs-2019&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:02:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-09 20:37:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 22:36:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 03:15:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 11:50:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-27 10:47:09&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 17:29:57&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 09:19:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-12 05:47:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-18 11:36:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-23 13:05:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-27 13:04:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-31 08:50:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 17:00:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-07 11:48:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-10 11:59:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-13 15:06:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-18 15:40:24&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-18 15:40:24&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img decoding="async" class="alignleft size-full wp-image-1641" src="https://learncgames.com/wp-content/uploads/2020/10/code-metrics-in-visual-studio.png" alt="Calucating Code metrics in Visual Studio" width="376" height="133" srcset="https://learncgames.com/wp-content/uploads/2020/10/code-metrics-in-visual-studio.png 376w, https://learncgames.com/wp-content/uploads/2020/10/code-metrics-in-visual-studio-300x106.png 300w" sizes="(max-width: 376px) 100vw, 376px" />Until this morning, I didn&#8217;t realise that Visual Studio (<em>even the free Community Edition</em>) has this built in. I was curious to see how much code I&#8217;d written so far for my game processing engine.  Development comes in leaps and bounds during evenings and weekends.</p>
<p>Visual Studio has Code Metrics in it. You can do this for any project that builds correctly. To show this you have to do <strong>View =&gt; Other Windows =&gt; Code Metrics Results</strong>. That displays the window. Then you have to go on the <strong>Analyze</strong> Window, and click <strong>Calculate Code Metrics</strong>.</p>
<p><img decoding="async" class="size-full wp-image-1642 alignnone" src="https://learncgames.com/wp-content/uploads/2020/10/lines-of-code.png" alt="Lines of code" width="946" height="115" srcset="https://learncgames.com/wp-content/uploads/2020/10/lines-of-code.png 946w, https://learncgames.com/wp-content/uploads/2020/10/lines-of-code-300x36.png 300w, https://learncgames.com/wp-content/uploads/2020/10/lines-of-code-768x93.png 768w" sizes="(max-width: 946px) 100vw, 946px" /></p>
<p>However you might want to take these with a pinch of salt. As I understand it, Lines of Source Code is calculated from the il code output from the compiler. The last column (<em>Lines of executable code</em>) suggests that most of my program is comments which is wrong! There is however a fair amount of data in the form of Constructor initializations, and one file of 1290 lines has over 1,000 such initializations.  You can read what the other columns mean and everything you ever wanted to know about code metrics on the <a title="Link to Code Metrics on Microsoft's website" href="https://docs.microsoft.com/en-us/visualstudio/code-quality/code-metrics-values?view=vs-2019" target="_blank" rel="nofollow noopener noreferrer">Microsoft site</a>.</p>
<p>Out of curiosity, I manually counted the number of lines in this project. There are 15 files and they added up to 3700 lines but that includes comments and blank lines.  A quick search for // found 119 which probably means I should improve my commenting. Blank lines is probably something similar. So we&#8217;re talking 3700-1000 (<em>constructor initializers</em>)-119 (<em>comments</em>) -119 (<em>blank lines</em>) = 2462 lines of code so far. That&#8217;s working tested code mind you.</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/how-to-count-lines-of-code-in-visual-studio/">How to count lines of code in Visual Studio</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1640</post-id>	</item>
		<item>
		<title>C11 and C17 support in MSVC</title>
		<link>https://learncgames.com/c11-and-c17-support-in-msvc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=c11-and-c17-support-in-msvc</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 18 Sep 2020 23:00:23 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[C11]]></category>
		<category><![CDATA[c17]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1415</guid>

					<description><![CDATA[<p>&#160; Microsoft have announced that they will be supporting both C11 and C17 in Visual Studio 2019 version 16.8 Preview 3. All the required features but not optional features and not VLAs (Variable Length Arrays) which is considered unsafe. One of the complaints has been that Microsoft always prioritised C++ over C for many years. [&#8230;]</p>
The post <a href="https://learncgames.com/c11-and-c17-support-in-msvc/">C11 and C17 support in MSVC</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:516,&quot;href&quot;:&quot;https:\/\/pixabay.com\/users\/Peggy_Marco-1553824\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1015531&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251207210515\/https:\/\/pixabay.com\/users\/peggy_marco-1553824\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:36:07&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-10 22:18:10&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-15 11:07:39&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-18 18:46:15&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-23 00:07:13&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-27 04:02:04&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-04 22:26:50&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-10 14:16:22&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-14 00:27:01&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 16:37:31&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-20 19:32:44&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-03 05:56:30&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-10 11:59:22&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-17 13:39:51&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-21 20:48:16&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-21 20:48:16&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:517,&quot;href&quot;:&quot;https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1015531&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260205102120\/https:\/\/pixabay.com\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:36:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-10 22:18:10&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-15 11:07:38&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-18 18:46:15&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-23 00:07:13&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-27 04:02:08&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-04 22:26:50&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-10 14:16:21&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-14 00:27:01&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 16:37:32&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-20 19:32:45&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-03 05:56:30&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-10 11:59:22&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-17 13:39:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-21 20:48:17&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-21 20:48:17&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:404,&quot;href&quot;:&quot;https:\/\/devblogs.microsoft.com\/cppblog\/c11-and-c17-standard-support-arriving-in-msvc&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251212150650\/https:\/\/devblogs.microsoft.com\/cppblog\/c11-and-c17-standard-support-arriving-in-msvc\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 14:43:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 22:18:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-15 11:07:38&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 18:46:19&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-02-23 00:07:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-27 04:02:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-04 22:26:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-08 08:26:37&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-11 09:12:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-14 09:33:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-17 16:37:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-20 19:32:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-27 21:41:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 05:56:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-07 19:21:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-12 12:53:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-16 05:32:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 04:42:29&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 04:42:29&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'></div>
<p>&nbsp;</p>
<figure id="attachment_1416" aria-describedby="caption-attachment-1416" style="width: 300px" class="wp-caption alignleft"><img loading="lazy" decoding="async" class="size-medium wp-image-1416" src="https://learncgames.com/wp-content/uploads/2020/09/c-1015531_640-300x300.jpg" alt="The letter C" width="300" height="300" srcset="https://learncgames.com/wp-content/uploads/2020/09/c-1015531_640-300x300.jpg 300w, https://learncgames.com/wp-content/uploads/2020/09/c-1015531_640-150x150.jpg 150w, https://learncgames.com/wp-content/uploads/2020/09/c-1015531_640.jpg 640w" sizes="auto, (max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-1416" class="wp-caption-text">Image by <a href="https://pixabay.com/users/Peggy_Marco-1553824/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1015531">Peggy und Marco Lachmann-Anke</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1015531">Pixabay</a></figcaption></figure>
<p><a title="Link to a Microsoft dev blog entry" href="https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/" target="_blank" rel="nofollow noopener noreferrer">Microsoft have announced</a> that they will be supporting both C11 and C17 in Visual Studio 2019 version 16.8 Preview 3. All the required features but not optional features and not VLAs (Variable Length Arrays) which is considered unsafe.</p>
<p>One of the complaints has been that Microsoft always prioritised C++ over C for many years. C was supported inasmuch as it was needed for C++. Until fairly recently C++ was a superset of C and you could compile C program as C++. Just change the extension to .cpp.</p>
<p>That said, I will probably continue to write C code as C99 for now and take a look at the C11/C17 features such as restrict, stdnoreturn and so on.  Note C17 is considered a bit of a bug fix for C11.</p>The post <a href="https://learncgames.com/c11-and-c17-support-in-msvc/">C11 and C17 support in MSVC</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1415</post-id>	</item>
	</channel>
</rss>
