Wednesday, June 29, 2011

drawnow (MATLAB Functions)

drawnow (MATLAB Functions)

linux - Why do game developers prefer windows ? - Programmers - Stack Exchange

linux - Why do game developers prefer windows ? - Programmers - Stack Exchange

C++ Standard Library: The string Class

C++ Standard Library: The string Class: "Equality ==
string s1( 'abc' );
string s2( 'def' );
string s3( 'abc' );
...
bool flag1 = ( s1 == s2 ); // flag1 = false now
bool flag2 = ( s1 == s3 ); // flag2 = true now"

Valgrind

Valgrind: "valgrind --leak-check=yes"

A_MeasuringPerformanceAndMemoryUsage

A_MeasuringPerformanceAndMemoryUsage

class - How to profile the memory consumption by a set of C++ classes? - Stack Overflow

class - How to profile the memory consumption by a set of C++ classes? - Stack Overflow

Profiling with GProf

Profiling with GProf

Simple AJAX Example

Simple AJAX Example: "

Replace Text




Hello, world!
"

Multi-Dimensional Arrays - C++ Forum

Multi-Dimensional Arrays - C++ Forum: "#include
using std::vector;

#define HEIGHT 5
#define WIDTH 3
#define DEPTH 7

int main() {
vector > > array3D;

// Set up sizes. (HEIGHT x WIDTH)
array3D.resize(HEIGHT);
for (int i = 0; i < HEIGHT; ++i) {
array3D[i].resize(WIDTH);

for (int j = 0; j < WIDTH; ++j)
array3D[i][j].resize(DEPTH);
}

// Put some values in
array3D[1][2][5] = 6.0;
array3D[3][1][4] = 5.5;

return 0;"

Saturday, June 25, 2011