Mar
15
comment Passing a 2-D array the column is mandatory
boost::multi_array might also work for you.
Mar
11
awarded Yearling
Mar
11
answered Perl syntax in relation to references
Mar
11
comment Module has no attribute imread
which version of scipy are you using? scipy.__version__ gives 0.9.0 for me and i cannot reproduce your problem
Mar
5
comment Initializing an array inside a structure from another array in C++
you need: 10 * sizeof(int)
Mar
4
comment output char* to std::string C++
you might want to suggest strlen(chunk.memory)?
Mar
4
answered Swapping between code using comments
Mar
4
awarded Yearling
Mar
4
awarded Yearling
Mar
4
answered how to temporarily remove some changes from a git master branch?
Mar
4
answered python regular expression repeating pattern matching entire string
Mar
4
comment How to see the properties of folder in terminal?
ah.. thanks for pointing that out. Somehow remembered that windows displays the size for all children, but the number of files is only for the current folder. If you want that for all subfolders, remove -maxdepth 1
Mar
4
comment how do i feed printf as input to a C program using a file?
did you add \n to terminate the lines?
Mar
4
answered Virtual function call in constructor
Mar
4
answered How to see the properties of folder in terminal?
Feb
28
comment Typedef and function declaration not working together
@nav, nope, your member variable has the type of a function pointer (your typedef), and the name "pfnWriter", this is completely fine. You can write GDALGenerator g(...); g.pfnWriter = f; after the lines in my answer.
Feb
28
answered Typedef and function declaration not working together
Feb
25
comment Different template error format in GCC?
It is quite the opposite; from the manual: When an error message refers to a specialization of a class template, the compiler omits any template arguments that match the default template arguments for that template. If either of these behaviors make it harder to understand the error message rather than easier, you can use -fno-pretty-templates to disable them.
Jan
17
awarded Commentator
Jan
17
comment Vim code completion doesn't work after including a standard header
I cannot reproduce your description, I get exactly the same completion result with and without the commented line.
1 2 3 4