// this is in the global scope of my program. normally accepted as bad code, // but it seems to make sense in the context of an embedded platform. // "global" cache ...
// Original method int monster() ...
C++ Return in the middle of an ...
by https://www.google.com/accounts/o8/id?id=AItOawlmF6128_7x9vlFVJ0ZVoNOgsxom2Stesw,
June 28, 2010 17:38,
3 refactorings, tagged with C++, extract method, monster method
I have a very long method, ...
int width = iplImage->width; int height = iplImage->height; ...
C++ exchanging 2 values
I am working with OpenCV an...
#include <fstream> using std::ofstream; #include <time.h> ...
C++ Game of Life
by vodkamilkshake,
January 22, 2010 08:29,
3 refactorings, tagged with game, algorithm, C++, cpp, gameoflife, conway
This is an implementation o...
// handlePathChange() is called whenever the URI changes void MVCApplication::handlePathChange() ...
C++ Re-implementation of the AS...
by the-drow.myopenid.com,
January 15, 2010 19:54,
2 refactorings, tagged with C++, routing, mvc, asp.net-mvc-routing
I'm trying to re-implement ...
#pragma once #include <iostream> ...
C++ c++ templates, Vector2, Vec...
by rakkarage.myopenid.com,
November 13, 2009 22:50,
4 refactorings, tagged with math, template, vector, C++, 3d
for my 3d game :) still wor...
// routine for loading all grass sprites we can find char buffer[32]; std::string setname = "jungle"; ...
C++ Call sprintf_s only once
Can this routine be done wi...
// For faster converting of dates to strings
char* sLeadingZeroIntegerValues[] = {
"00","01","02","03","04","05","06","07","08","09",
...
C++ Stream ADODB recordset into...
by ctrager.blogspot.com,
November 11, 2008 12:30,
2 refactorings, tagged with speed, C++, COM, ADODB, STL
Can we make the code betwee...
I'm working on interfacing ...