This is the first release and so far is known only to compile on one machine (mine) with one compiler (Visual C++ 5.0). Therefore you should first check that the unaltered source code compiles on your machine. If it doesn't compile email me, I would like to get it to work on more machines.
if (err = gs.Login("greedy","password")) {
Make the first parameter your program's login (8 characters max), the second parameter your program's password.
if (pmsg->sFrom=="n2") {
Change "n2" to your (human) login. This login controls the program; when it tells the program something, the program issues it as a command to GGS.
If your program doesn't have a learning book (i.e. learn from its mistakes in games) try 'rand' games which have a random starting position.
To write a very strong program, check out the papers by Michael Buro.
In ODK arrays, index 0 is for white and 1 is for black. This allows you to use game.pos.board.fBlackMove as the index.