<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Posts Tagged With 'C++' RSS Feed</title>
    <link>http://www.programmersheaven.com/blog/tags/C++</link>
    <description>Contains the latest posts from the Programmer's Heaven blogs that are tagged with the label 'C++'</description>
    <lastBuildDate>Sat, 05 Jul 2008 11:16:41 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <item>
      <title>Executing an array as code</title>
      <link>http://www.programmersheaven.com/user/MT2002/blog/270-Executing-an-array-as-code/</link>
      <description>Here is a neat little piece of code that I created yesterday. I posted this in my GDNet blog, but decided to share it here as well!&lt;br /&gt;
&lt;br /&gt;
Beware, the ugliest hack you will ever see!&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
char code[3] = {
	"\x90"		//nop
	"\xC3"		//ret
};

int main () {

	void (*funct)() = (void (__cdecl *)(void))(void*) &amp;amp;code;
	funct();
}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
This executes the instructions found in the array as if it was a real function!&lt;br /&gt;
&lt;br /&gt;
Yey for the fun that we can do in C++...!!! &lt;img src="http://www.programmersheaven.com/images/Community/grin.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/user/MT2002/blog/270-Executing-an-array-as-code/</guid>
      <pubDate>Fri, 27 Jun 2008 11:16:57 -0700</pubDate>
      <dc:creator>MT2002</dc:creator>
    </item>
    <item>
      <title>April Fools Day!!! (Off by one, I know)</title>
      <link>http://www.programmersheaven.com/user/MT2002/blog/211-April-Fools-Day-Off-by-one-I-know/</link>
      <description>Jeeze, its been some time sense I updated my blogs, I decided "what the hey".&lt;br /&gt;
&lt;br /&gt;
I hope everyone enjoyed a whacked out april fools day!! Yey!! (Er.. I didnt do anything interesting; it would be cool to hear what our readers did though!)&lt;br /&gt;
&lt;br /&gt;
Not to much of an update sense the last time I posted, unfortunately. Its getting quite large (Over 100 kloc in size) Not that much to show yet, though :( I am currently working on an ms3d model codec for the engine, and the core static and animated mesh classes.&lt;br /&gt;
&lt;br /&gt;
Heres a current image. Here you can see the current stable editor release, along with the realtime logging console. Everything is rendered during realtime by Eveh3D's scene manager and current video driver (EvehGL.dll). It has a fully dynamic rotatable camera system as well.&lt;br /&gt;
&lt;br /&gt;
Here ya go:&lt;br /&gt;
[includeimage:1]&lt;br /&gt;
&lt;br /&gt;
Hopefully next image will include a few cool multi-animated fully textured models (and perhaps terrain via Eveh3D's EvehTer codec)&lt;br /&gt;
&lt;br /&gt;
(Also, disregard my previous comment about image sizes. It seems Paint.NET adds some extra information to image files that MS Paint does not..)&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/user/MT2002/blog/211-April-Fools-Day-Off-by-one-I-know/</guid>
      <pubDate>Wed, 02 Apr 2008 21:05:58 -0700</pubDate>
      <dc:creator>MT2002</dc:creator>
    </item>
    <item>
      <title>Eveh3D and OS Updates...</title>
      <link>http://www.programmersheaven.com/user/MT2002/blog/178-Eveh3D-and-OS-Updates/</link>
      <description>Hey everyone,&lt;br /&gt;
&lt;br /&gt;
This is a quick update on everything.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Eveh3D&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Heres the current pic for Eveh3D's Scene Editor and Eveh3D Game Engine. The engine itself has a little over 63,000 lines of code and is now very close to a v. 0.1 beta test release. Can't wait!&lt;br /&gt;
&lt;br /&gt;
...I do wish we can upload larger images here.&lt;br /&gt;
&lt;br /&gt;
[includeimage:1]&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;OS Development Series Tutorial 15 is up&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
...Just in case you didnt know ;)&lt;br /&gt;
&lt;br /&gt;
We are currently thinking of adding x64 support to either MOS or the OS Development Series' operating system. We might be having a merger between our current OS and another for better support. I'll keep everyone updated on it if we get any news.&lt;br /&gt;
&lt;br /&gt;
Guess thats all for now...</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/user/MT2002/blog/178-Eveh3D-and-OS-Updates/</guid>
      <pubDate>Sun, 24 Feb 2008 20:50:19 -0700</pubDate>
      <dc:creator>MT2002</dc:creator>
    </item>
    <item>
      <title>Next Tutorial release soon; Eveh3D World Editor</title>
      <link>http://www.programmersheaven.com/user/MT2002/blog/159-Next-Tutorial-release-soon-Eveh3D-World-Editor/</link>
      <description>&lt;strong&gt;Spam mail...Ugh!&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Okay, I used to think my websites primary email address was free from useless spam emails... I guess its not anymore :(&lt;br /&gt;
&lt;br /&gt;
Wouldn't it be great if network bots can detect and route them to nothingness automatically?&lt;br /&gt;
&lt;br /&gt;
Ugh... Wait for Microsoft, they will say something once they take over Yahoo and the Internet...&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Eveh3D World Editor&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
This is actually more of a scene editor. Basically, we have decided to start turning our demo into a scene editor. This will help bring every part of the engine together within an editor envirement.&lt;br /&gt;
&lt;br /&gt;
At first, our primary goal is being able to add objects to a 3d world and scene manager, creating a file format for the scene, and the actual use for the game. We are considering of using XML for the file format.&lt;br /&gt;
&lt;br /&gt;
I am basing the design similar to IrrEdit to help make the learning curve easy.&lt;br /&gt;
&lt;br /&gt;
This will be our main design tool for our engine, and will be a product as part of Eveh3D.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Next Demo - Creating your own BSoD&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Not really :)&lt;br /&gt;
&lt;br /&gt;
Actually the next OS Development Series tutorial covers errors, error handling concepts; error,exception, and interrupt handling; Interrupt Descriptor Table (IDT), IDTR x86 register, LIDT instruction, and even building our own Blue Screen of Death (BSoD).&lt;br /&gt;
&lt;br /&gt;
Thanks to our system design, we can encapsulate x86 dependencies within the Hardware Abstraction Layer (HAL), and create a nice interface allowing our kernel to "Register" error handlers through the interface via the HAL.&lt;br /&gt;
&lt;br /&gt;
It should be up within this week... hopefully.&lt;br /&gt;
&lt;br /&gt;
Its going to be fun...&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/user/MT2002/blog/159-Next-Tutorial-release-soon-Eveh3D-World-Editor/</guid>
      <pubDate>Wed, 06 Feb 2008 16:44:48 -0700</pubDate>
      <dc:creator>MT2002</dc:creator>
    </item>
    <item>
      <title>First post</title>
      <link>http://www.programmersheaven.com/user/MT2002/blog/151-First-post/</link>
      <description>Hello, World!&lt;br /&gt;
&lt;br /&gt;
This is the first post. Within this blog world you will find the within the depths that is video game and operating system developing.&lt;br /&gt;
&lt;br /&gt;
Now that you are here, there is no way to escape! hehe...&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Not compatible with Virtual PC&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
It seems the current Operating System (OS) has some compatibility problems running in the virtual PC emulator. It works on Bochs emulator, and on real hardware. ...Just not Microsoft Virtual PC. *sigh*... ...Why am I not very surprised?&lt;br /&gt;
&lt;br /&gt;
Go Microsoft!&lt;br /&gt;
&lt;br /&gt;
ugh.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;EvolutionEngine Test Demo Status&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
We are currently cleaning up the software a little bit for better distribution. It would be nice if the test demo source code was released, even if the engine itself is currently closed source.&lt;br /&gt;
&lt;br /&gt;
At this time, EvolutionEngine is about 50k lines of code. It is very expandable with an OpenGL rendering port. It is very object oriented, primarily developed in C++.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/user/MT2002/blog/151-First-post/</guid>
      <pubDate>Sun, 03 Feb 2008 09:38:41 -0700</pubDate>
      <dc:creator>MT2002</dc:creator>
    </item>
  </channel>
</rss>