Under WSH (Windows Script Host), you can access the COM object WScript.Shell for some useful functions. For example, the collection Environment provides the environment variables, so you can easily …
September 12, 2014
beginner, code, code library, implementation, javascript, Office, Processing and ProcessingJS, VBA, vbscript, windows, windows command shell, windows scripting host
WSH (Window Scripting Host) is a powerful and handy scripting environment. It is installed by default and can be found on almost every windows versions since Win98. There are …
At Windows command shell cmd.exe you could do something powerful with the compound commands, which I believe copies from *nix. Today Someone asked me how to write a script …
CodeBlocks is a open source, free C/C++ IDE that just works across platforms. The create-project wizard is so easy to use and it gives you a very good starting …
September 5, 2014
algorithms, beginner, c / c++, code, code library, math, optimization, programming languages, recursive, tricks
We all know the formula to compute value e (mathematical constant that is the base of the natural logarithm) is e = 1 + 1/1!+ 1/2!+ .....+ 1/n! Now, …
If you want to improve user experience when browsing your website, given that you know the screen resolution they are on, then the following is a quick Javascript solution …