Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 10 Apr 2005
Offline Last Active Today, 03:15 AM

Posts I've Made

In Topic: BMX Ride - Upcoming bmx game for the PC

20 July 2014 - 10:56 PM

That looks pretty sweet on the Rift. Level based on Danny MacAskill's Imaginate? Good work!

In Topic: OculusVR acquired and open sourced RakNet

07 July 2014 - 10:33 PM

Wow, didn't see that one coming. Good stuff!

In Topic: [C++] Is there an easy way to mimic printf()'s behavior?

03 April 2014 - 08:15 AM

Nice one Aardvajk. But ouch, all those template arguments. My shot at a C++11 version:
#include <iostream>
#include <iomanip>
#include <sstream>
#include <string>

namespace detail {

template<typename TOStream, typename... TArgs>
void print(TOStream& os, TArgs&&... args) {}

template<typename TOStream, typename TArg, typename... TArgs>
void print(TOStream& os, TArg&& arg, TArgs&&... args)
	print(os << std::forward<TArg>(arg), std::forward<TArgs>(args)...);


template<typename... TArgs>
std::string print(TArgs&&... args)
	std::ostringstream os;
	detail::print(os, std::forward<TArgs>(args)...);
	return os.str();

int main()
	std::cout << print("Hello", std::boolalpha, std::fixed, std::setprecision(2), ' ', 1, ' ', 2.0, ' ', true) << std::endl;
	return 0;

In Topic: North Korean Run 'n' Gun

19 March 2014 - 08:20 PM


Any progress? I hope the project is coming along well!

In Topic: North Korean Run 'n' Gun

04 February 2014 - 02:26 AM

I am getting seriously stoked for this! smile.png

Edit: Haha, I just saw that "The Worm" is the second playable character. Brilliant!