Mirrored from my blog.
Things have been pretty busy lately. Over the summer, I got my first job working as a programmer. A little over a month ago, I began attending university (first year). While the experiences thus far have been excellent on both counts, there have been a couple unfortunate downs…
Things have been pretty busy lately. Over the summer, I got my first job working as a programmer. A little over a month ago, I began attending university (first year). While the experiences thus far have been excellent on both counts, there have been a couple unfortunate downs…
Mirrored from my blog.
Last post I demonstrated how to make a simple command prompt using a basic Console project. This time I'm going to show how to embed one in a window.
I'll admit it, getting this to work was not particularly easy. I tried a number of different methods, from redirecting the outpu…
Last post I demonstrated how to make a simple command prompt using a basic Console project. This time I'm going to show how to embed one in a window.
I'll admit it, getting this to work was not particularly easy. I tried a number of different methods, from redirecting the outpu…
Mirrored from my blog.
The school I go to places ridiculous restrictions on the computers. Right clicks aside, one thing I wish above all things they hadn't disabled was the command prompt. Ironically, the computers also have support for a number of programming languages. A friend of mine managed to…
The school I go to places ridiculous restrictions on the computers. Right clicks aside, one thing I wish above all things they hadn't disabled was the command prompt. Ironically, the computers also have support for a number of programming languages. A friend of mine managed to…
While developing spectral, I discovered something peculiar.
Consider this sample pseudo C#/IL:
You'd expect some sort of error, right? The return type is T, but the returned value is a double.
Turns out it runs fin…
Consider this sample pseudo C#/IL:
public static T Sqrt(T value)
{
ldarg.0
conv.r8
call double System.Math.Sqrt(double)
ret
}
You'd expect some sort of error, right? The return type is T, but the returned value is a double.
Turns out it runs fin…
Hrm... first post. This actually contains content from my blog, but I felt like writing it again, differently.
[hr]
It's a problem that's been tackled a hundred, billion times. My personal favourites are this and this. The first, however, I felt required too much code, and the second was too slow (di…
[hr]
It's a problem that's been tackled a hundred, billion times. My personal favourites are this and this. The first, however, I felt required too much code, and the second was too slow (di…
Advertisement
Popular Blogs
Advertisement