C++Guns – RoboBlog

29.01.2015

Five Myths about C++ BUSTED!

Filed under: Allgemein — Tags: , — Thomas @ 03:01

This is a short of http://www.stroustrup.com/Myths-final.pdf Myth 1: “To understand C++, you must first learn C” C is almost a subset of C++, but it is not the best subset to learn first because C lacks the notational support, the type safety, and the easier-to-use standard library offered by C++ to simplify simple tasks. Consider […]

26.01.2015

Fortran save, data, static, global, parameter WTF?

Filed under: Allgemein — Tags: — Thomas @ 23:01

Whats the difference between between save, static, global, local and parameter variables? Save and static are two words for the same thing. I found a nice definition of what save do in the Fortran 77 Standard [1] Within a function or subroutine subprogram, an entity specified by a SAVE statement does not become undefined as […]

17.01.2015

suppress "unused dummy argument" warning in fortran

Filed under: Allgemein — Tags: — Thomas @ 18:01

Here is my way to supress the "unused dummy argument" warning. I'm searched a long time but did not find a solution which works on any compiler and newer fortran standard. In C/C++ it is very easy. Just write (void)variable; But this just trigger an "Unclassifiable statement" error. #define UNUSED(x) if(size( (/(x)/) ) < 0) […]

13.01.2015

Windows ist fürn Arsch

Filed under: Allgemein — Tags: — Thomas @ 10:01

Ja wirklich. Windows ist fürn Arsch. Und nicht erst seit heute. Diese Erfahrung mach ich jetzt schon seit 15 Jahren. Immer wieder. Typisches Scenario: Man wacht morgens auf und schaltet das Laptop ein. "Piiieep Pip Pip", schwarzer Bildschirm. Laptop kaputt (Nvidia Bug (google it!)). Wurde schon einmal repariert. Jetzt endgültig gestorben. Und wie es Murphy […]

04.01.2015

Detecting undesired lines

Filed under: Allgemein — Tags: — Thomas @ 22:01

Sehr nette Idee. Müsste man nur noch herausfinden wie man diese Cluster erkennt. SOME ASPECTS OF PATTERN RECOGNITION BY COMPUTER by ADOLFO GUZMAN-ARENAS B.S., Instituto Politecnico Nacional (Mexico), 1965; "The alpha-Lambda transformation. The following scheme is useful in detecting undesired lines when dealing with rectliniear bodies. Given an array containing elementary segments (a small number […]

02.01.2015

raw speed of C using OO with C++

Filed under: Allgemein — Tags: , , — Thomas @ 20:01

Programs written in C are very very fast. Those written in C++ can be slower due to the fact that copying object is not alway easy as copying an array of numbers. One have to call the copy constructor maybe with side effects like allocate some space. The language C++ is full backwards compatible to […]

Powered by WordPress