A Coding Convention for C Code is a multi-platform compatible script that makes it easier for us to read each other's code, here are a few guidelines to follow when writing C code.
Advertisement
This is a very simple look-up based method for converting integer to binary string. In my tests, using 'timeit', its the fastest around. And with increasing value of input decimal number, it surpases any 'run time computation' based method doing...
Use Jython to time java code. An inexpensive solution to measure Java code's performance. In the following example, jtimeit.py is created to measure Main.doHttpGet()'s performance. Used google and yahoo as examples.
Software to count lines of code (SLOC, LOC) in source or text files. Able to count C/C++, Java, Delphi/Pascal, VB, PHP, ASP and many others. Includes total counts for comments, blanks and source lines - sortable and exportable to CSV or other...
TurboExcel converts Excel spreadsheets to C++ code. / This helps developers create perfect code instantly. Whenever you have to write a new function, prototype it in Excel first, getting the logic working before writing a single line of code....
Code Line Counter Pro - C++ Version may be helpful for SQA, C++ developers, project managers and other customers who need an overview of a project source code. This easy-to-use application will help you get detailed reports on the source...
This recipe lets you take into account time spent in C modules when profiling your Python code. Normally the profiler only profiles Python code, so finding out how much time is spent accessing a database, running encryption code, sleeping and so...
COM to .NET is a solution that can be used to migrate COM based codes into .NET codes. Users are allowed to organize their applications and not to register ActiveX objects or COM objects. This program has an ability to create wrappers as C# code...
There are plenty of ways to declare C-like enums in Python. This one tries to be minimalistic and with a nice syntax, (ab)using decorators.
The code is also available here: http://codespeak.net/svn/user/antocuni/hack/enum.py
This recipe is Python implementation of few lines of C-code that get useful information about current working console on Windows. It may be useful for console application to proper formatting output. Recipe need ctypes package to be installed.
This recipe shows how to insert java code into a jython program. The java code is automatically compiled and the resulting class is imported and returned. Compilation only occurs after a change of the java source.
These one-liner lambdas convert integers to binary strings with no leading zeros.
Access2ASP is used to create ASP code to customize data from the MS ACCESS database table. This utility can also create an image library to allow users to add their own image on the database table. This script allows them to add, edit, remove,...
It is a tutorial made to help C++ programmers who are new to DirectX for them to get acquainted with the libraries, in particular DirectDraw and DirectInput.
Programmers in ASP can acquire the solutions to implement the scheduled tasks in ASP through this tutorial. The author says that it is pretty possible to schedule ASP code execution using ASP Application Object's event procedures. And from the...
Java editor allows you to edit java code, compile, view errors, run application or applet and much more.
Use TurboNote to keep to-do lists, code snippets, URLs which might be worth a visit, email addresses we need to reply to today and paths to files we are working on. The Quick Launch feature means you can just double-click on any of these...
An innovative and easy to use source code browser designed for Object Pascal programming. With this tool, you can browse your Pascal unit source code by a list of reusable declarations and their comment lines.
This unit allows you to parse HTML code, extract HTML elements and NAME=Value pairs. Unit contains THtmlParser class and 3 functions
Some example lines to add to any test code you write that work from Python 1.4.0 to 3.2.2 on various platforms.
It is all Public Domain and you can do with it as you please...
I really don't care how you vote and/or rate... |