Feed on
Posts
Comments

Tag Archive 'c++'

Edit: This code has an updated version, here! This simple C program lists all of the “up” network interfaces on a linux system, along with their IP address and MAC address. It prints off the bound IP address as well as the MAC address of the interface. A older version of this program can be [...]

Read Full Post »

Now thats a Makefile

Recently, I needed a nice makefile for a c++ project. I was about to write one, but then I remembered that my emacs was imbued with magical makefile-making properties (I am not actually sure where the makefile template comes from). In any case, I made a makefile from the emacs template I had, used it, [...]

Read Full Post »

Redirecting stdin, stdout in C++

Often I find that I need a simple and easy to use way to redirect stdin and stdout to a file instead of the terminal. Its especially useful if you have a large program and your requirements change to require that files can be used for io, or maybe you dont want to use a [...]

Read Full Post »

Recently, I programmed a neural network that (successfully) learned to optimize its payoff while playing blackjack. However, I did it in C. A little research showed that most people don’t use C or C++ for AI applications, and that functional languages (as well as those that have internal support for the use of symbols) were [...]

Read Full Post »

Dreamhost – dreamy?

Well, as some of my readers have heard, I switched from GoDaddy to dreamhost in an attempt to get away from a terrible management system, a clutter of ads, and frankly, paying too much for far too little. I did my search and looked at places from globat.com, dreamhost.com, mediatemple.com, and more. I ended up [...]

Read Full Post »