Friday

MinGW g++: error: CreateProcess: No such file or directory (solved)

Problem:
C:\MinGW\bin>g++ --version
g++ (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C:\MinGW\bin>g++ cpp_v1.cpp
g++: error: CreateProcess: No such file or directory

Solution:
Uninstall the old CodeBlocks program from your PC.

Note:
Do this, only if you want to try C++11 or C++0x.

No comments:

Measure execution time with Julia, example using sorting algorithms

# random integers between 1 and 100 inclusive, generate thousands of them x = rand ( 1 : 100 , 100000 ) @time sort (x; alg=InsertionSort, r...