Tuesday, November 30, 2010

Hello World

So the obligatory Hello World project. Just to make sure that I am able to compile and execute the output...
/********************************************************
*
* main.cc
*
*
********************************************************/

#include < iostream >

int main ()
{
// This prints "Hello World"
std::cout << "Hello World" <<>
return 0;
}


To compile I used a Makefile that I had created for a class that I had previously taken during my coursework at SMU.

All the fluff contained in the Makefile added include paths for libraries that were not required for this simple project. The resultant compile command was this:
g++ -c -o HelloWorld.o HelloWorld.cc

To execute this in the cygwin console the following must be entered:
./HelloWorld.exe

In a cmd.exe shell within Windows XP Pro the "./" is not required.

The output from either console is:
Hello World

Monday, November 22, 2010

Ready Begin...

To start out I will describe what kind of system I am working on. I built this computer with the following specifications:
Motherboard: MA785G-UD3H (Gigabyte)
CPU: AMD Athaon 64x2 dual Core Processor 5000+ (2.64 GHz)
RAM: 2GB
OS: Windows XP Pro (SP3)

In an attempt to be true to my thrifty nature my development environment consists of the best tools that a free download can buy.

I am using the compiler available with cygwin (setup version 2.697)