C++ On Simple Quiz

by thaostra.myopenid.com, October 06, 2011 08:31

OOPS! Accidentally created...

55502f40dc8b7c769880b10874abc9d0 Talk
//compiles on gcc-4.6.1
//g++ -W -Wall -Wextra -O2 -pedantic -std=c++0x -o quiz ./quiz.cpp
#include <iostream>
...

C++ On Simple Quiz

by thaostra.myopenid.com, October 06, 2011 07:59

These code refactorings hav...

55502f40dc8b7c769880b10874abc9d0 Talk
//compiles on gcc-4.6.1
//g++ -W -Wall -Wextra -O2 -pedantic -std=c++0x -o quiz ./quiz.cpp
#include <iostream>
...

C++ On Simple Quiz

by thaostra.myopenid.com, October 06, 2011 07:58

These code refactorings hav...

55502f40dc8b7c769880b10874abc9d0 Talk
#include <iostream>
#include <vector>
using namespace std;
...

C++ Simple Quiz

by thaostra.myopenid.com, October 04, 2011 16:53, 5 refactorings

This is a working game, but...

55502f40dc8b7c769880b10874abc9d0 Talk
#!/usr/bin/ruby1.9.1

require 'gosu'
...

Ruby Simple graphics program

by thaostra.myopenid.com, July 01, 2010 03:09, 3 refactorings, tagged with 2D, Gosu

This is my first attempt at...

55502f40dc8b7c769880b10874abc9d0 Talk
#include <stdio.h>

int main()
...

C On Bizzbuzz

by thaostra.myopenid.com, June 26, 2010 03:33 Star_fullStar_fullStar_fullStar_full

This was the result of expe...

55502f40dc8b7c769880b10874abc9d0 Talk
#include <stdio.h>

main()
...

C Bizzbuzz

by thaostra.myopenid.com, June 24, 2010 22:58, 4 refactorings, tagged with c, concise, bizzbuzz

My knowledge of C is limite...

55502f40dc8b7c769880b10874abc9d0 Talk
parameter, file, text = ARGV

if parameter == '-w' #=> write mode
...

Ruby Clumsy file I/O program

by thaostra.myopenid.com, June 21, 2010 00:06, 1 refactoring, tagged with exceptions, arguments, parameters, I/O

This is my first attempt of...

55502f40dc8b7c769880b10874abc9d0 Talk
#!/usr/bin/env ruby

puts (1..10).map{ |i|"#{i} squared = #{i**2}" }, 'Program Completed.'
...

Ruby On Using blocks to avoid spagh...

by thaostra.myopenid.com, June 19, 2010 04:37 Star_fullStar_fullStar_fullStar_fullStar_full

I never thought about using...

55502f40dc8b7c769880b10874abc9d0 Talk
#!/usr/bin/env ruby

1.upto(10){ |i|puts "#{i} squared = #{i**2}" }
...

Ruby Using blocks to avoid spagh...

by thaostra.myopenid.com, June 18, 2010 22:35, 2 refactorings, tagged with concise, compact, clear

I looked at the code exampl...

55502f40dc8b7c769880b10874abc9d0 Talk