Friday, January 30, 2009

Fahrenheit Virgo

Still programming in C. I am still doing the basics, nothing spectacular. For now anyway. Still far along from contributing any cool apps.

This is another introductory program that converts Fahrenheit into Celsius--a bit more complex than just printf( . But this one lets beginners become more familiar with while/for loop functions.

Anyone could find this little program in any ANSI standard introductory text, but my concern was learning, besides C, to program on Linux as opposed to Windows. The difference? More terminal commands. I like the terminal.

Actually, on Windows I had to install a compiler program Dev-C++, which includes the ANSI library for the entire C/C++ language. From my understanding, Windows cannot compile C files. This is basically more of a GUI interface. In fact, the only thing you really need to do in the command prompt is find the file and run it. Simply Windows. On the other hand, Linux, Ubuntu anyway, has the standard library installed directly into the kernel. Just open up a text editor and a terminal; no third party app needed. Granted there are a few extra steps to running the program but that's about it.

Thursday, January 22, 2009

Obama Rama

For your viewing pleasure.

Tuesday, January 20, 2009

Hail to the Chief!

To peace and prosperity! Judge us on what we build and not what we destroy!

Monday, January 19, 2009

Wednesday, January 7, 2009

Hello World 2009: C Progamming

As I learned to crawl in C programming, I coded the commonplace Hello World program. Of course I added my own little touch :).