// 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
...

C++ String parsing in AVR-GCC

by Greg Buehler, April 18, 2011 07:58, 6 refactorings, tagged with speed, C++

I'm working on interfacing ...

C3b0b8da886396ca8d5a28ad397c404d Talk
// 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, ...

55502f40dc8b7c769880b10874abc9d0 Talk
int width = iplImage->width;
	int height = iplImage->height;
...

C++ exchanging 2 values

by trusmis.blogspot.com, April 01, 2010 06:43, 1 refactoring, tagged with C++, optimize, Qt

I am working with OpenCV an...

55502f40dc8b7c769880b10874abc9d0 Talk
#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...

73465ace35a83efec10235c119800304 Talk
// 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 ...

Ecefdcbc16e0f1fd61be3011b0045761 Talk
#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...

55502f40dc8b7c769880b10874abc9d0 Talk
// routine for loading all grass sprites we can find
char buffer[32];
std::string setname = "jungle";
...

C++ Call sprintf_s only once

by Mizipzor, January 26, 2009 10:27, 6 refactorings, tagged with loop, C++, while, sprintf_s

Can this routine be done wi...

9e9bb40f93094055bd09193eb3bccbb8 Talk
// 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...

23da7be57867a7eb54b583983c89b375 Talk