//----------------------------------------------------------------
//FindShortestPath.cpp
//
...

C++ PathFinding Algorithms

by leonhano, April 14, 2010 19:31, No refactoring

Old code, do not optimize.

E9f4c1a1dca6e53f58eb868ca32c1d5a 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
#include <iostream>
#include <stdio.h>
//#include <cstdlib>
...

C++ Calender

by vhar.myopenid.com, August 14, 2009 05:09, 4 refactorings, tagged with fun

prints months calenders fro...

55502f40dc8b7c769880b10874abc9d0 Talk
#include <map>
#include <string>
...

C++ PHP associative array class...

by tearsfornations.blogspot.com, August 08, 2009 19:10, 1 refactoring, tagged with c++ array, php array in c++

looking for stability and s...

55502f40dc8b7c769880b10874abc9d0 Talk
#ifndef TFN_BIBLE_H
#define TFN_BIBLE_H

...

C++ Bible class

by tearsfornations.blogspot.com, August 06, 2009 22:31, 6 refactorings, tagged with Bible

code works, just an idea fo...

55502f40dc8b7c769880b10874abc9d0 Talk
#include <iostream>
#include <limits>
#include <map>
...

C++ Breadth First Search (Textb...

by medikgt.myopenid.com, July 11, 2009 02:06, 1 refactoring, tagged with c++ algorithm

This is the BFS example use...

55502f40dc8b7c769880b10874abc9d0 Talk
#include <stdlib.h>
#include <vector>
#include <string>
...

C++ An efficient HTTP parser

by steve.hanov.myopenid.com, March 09, 2009 22:48, 4 refactorings, tagged with sockets, http, server

I'm writing a web server, a...

D41d8cd98f00b204e9800998ecf8427e Talk
for(int col = 0; col < cells.shape()[0]; col++) {
                int max_w = 0;
                for(int row = 0; row < cells.shape()[1]; row++) {
...

C++ Table layout with boost::mu...

by logixoul, March 04, 2009 14:32, No refactoring, tagged with c++ boost 2d

maybe can use std algos lik...

9b4e0447e8d049ba853fe368765f6f76 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
#include <iostream>
using namespace std;

...

C++ while reads some integers a...

by buk, December 18, 2008 21:50, 7 refactorings

hi,

first time here dont...

690d76ede81cf142565ee77b2f507bb4 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
#include <iostream.h>
#include <stdlib.h>
#include <math.h>
...

C++ Prime or Not

by goodespeler.myopenid.com, October 08, 2008 12:38, 10 refactorings, tagged with Prime Numbers

This is a simple program to...

B04f7f475867f6b47a59b49dfabc0daf Talk
#include <iostream.h>

int main() {
...

C++ Simple For Loop

by goodespeler.myopenid.com, October 06, 2008 23:10, 5 refactorings

Can someone check my for lo...

B04f7f475867f6b47a59b49dfabc0daf Talk
#include <iostream>
#include <iomanip>
using namespace std;
...

C++ Code Formatting

by goodespeler.myopenid.com, September 21, 2008 14:23, 4 refactorings, tagged with code formatting

Is there a nicer way of for...

B04f7f475867f6b47a59b49dfabc0daf Talk
#include<stdio.h>

#include<math.h>
...

C++ Finding area of a circle wh...

by tanaeem, November 05, 2007 15:13, 2 refactorings, tagged with area, geometry, circle

It has some problem with pr...

Ab7f553dd6d8b41bc3819a0dcacb26d4 Talk
Count Sort in c++


...

C++ Counting Sort

by milko, November 02, 2007 19:22, 5 refactorings, tagged with count sort

just to show.

55502f40dc8b7c769880b10874abc9d0 Talk