Archive for June, 2009
Eclipse – Exclude / de-exclude from build
Thursday, June 25, 2009 22:02 6 CommentsSometimes working with Eclipse can be frustrating. I just spent an hour of my life looking how to include back a file into build that was excluded before (exclude from build). To spare you that drama, just go to: Project Preferences -> C/C++ General -> Paths & Symbols -> Source Location Click on the folder [...]
Doxygen
Tuesday, June 23, 2009 20:33 1 CommentDoxygen is a source code documentation generator tool. Comment blocks are constructed like this: (JavaDoc style) /** * multiline bloc… some text */ /// single ling comment… some text “some text” can be replaced with various special commands in order to make the generated documentation more user friendly. Doxygen special commans overview.
Eclipse / Doxygen – Documentation Generator
Tuesday, June 23, 2009 19:22 No CommentsDoxygen is a well known source code documentation generator. More information about it is available on their homepage. For all those of you who prefer Eclipse as your main development platform there is a plugin that provides a high-level graphical user interface integration over Doxygen. More info about Eclox.
C++ static keyword
Tuesday, June 23, 2009 1:10 No CommentsThe static keyword can be used in the following situations. When you declare a variable or function at file scope (global and/or namespace scope), the static keyword specifies that the variable or function has internal linkage. When you declare a variable, the variable has static duration and the compiler initializes it to 0 unless you [...]
C++ Generate random numbers in Range
Monday, June 8, 2009 17:06 No CommentsTo make use of the rand() command you must include the cstdlib library #include <cstdlib> Before we generate a random number we call the srand(int) function to seed the randomizer so we dont get the same random number each time. #include <ctime> srand(time(NULL)); // time(NULL) returns seconds since 1.1.1970 To get the random number in [...]
Eclipse square bracket [] problem
Saturday, June 6, 2009 18:04 No CommentsSome people will experience a problem with Eclipse when trying to close the square brackets []. Eclipse will complain about not beeing able to evaluate a text selection and it won’t allow you typing that closing bracket. I got frustrated a bit because of not knowing whats going on. It wasn’t possible to write simple [...]
Douglas Crockford: “The JavaScript Programming Language”
Friday, June 5, 2009 19:29 No CommentsIn 4 videos Douglas Crockford gives us a very good overview of Javascript. A must view material for everyone new to Javascript. Douglas Crockford: “The Javascript Programming Language”
WordPress 2.7 – Missing the Visual Editor
Tuesday, June 2, 2009 21:07 No CommentsAfter upgrading to wordpress 2.7, suddenly the Visual editor was missing. After doing a search about it on google, I realized that others had the same problem. Some suggested to reupload all the files, to turn off all plugins etc, but nothing helped. But the answer was easier then that. By clicking on the user [...]
DatePicker – Mootools date picker control
Tuesday, June 2, 2009 12:35 No CommentsA very interesting and usefull date&time control. Its very small with only about 15kB, easy to install, skinnable and very configurable. DatePicker website
The Mootorial – A Mootools Tutorial
Tuesday, June 2, 2009 12:26 No CommentsThe Mootorial presents an extensive overview of the mootool javascript framework. A must read for all new motoolers.