Tag : Addition

Title User Language Tags Description Date
Get additional group IDs for Unix user (pwd/grp modules) realityexists python

The Python stdlib pwd module provides an easy way to get the primary group ID, but no way to get additional group IDs. This is a simple function that returns the additional group IDs for a given username.

June 3, 2011
Dynamic Tabpage Addition, etc p p C# DOM Eplorer project May 12, 2010
Adding an Additional Item To a Databound DropDownList Control in ASP.NET Mike Ebinum C# This shows how to have a default value in a Drop down list while adding all other information from a dynamic source September 27, 2009
Addition Snippet lucka Java Hey there..........i've built up this common addition logic.....really stupid for advanced programmers you know......but you can enter any number of integers you want and sum them up. August 14, 2009
Floating Point Addition in MASM Zerobu Assembly This program demonstrates how to add 3 floating point numbers together July 22, 2009
Structures in ComboBox to store additional information David Sarbello VB.NET Basically describes creating a custom structure (could also use a class) and loading a ComboBox with instances of the custom object. February 13, 2008
Mouse drag event addition m2s87 VB.NET This event will be fired if you hold down left mouse button and move the mouse. September 19, 2007
Big Integer Using Array to Addition imamkomc C++ July 10, 2007
Minor enhancement to the base Tk Console. Additional change. Mike Collins python

Right click Copy and Paste. And when you source a script from the command line, you lose the focus, and have to click the mouse button somewhere in the console screen to be able to type again. Fixed that around line # 616. Inserted "focus $w" and now it works better.

June 27, 2007
File Subclass That Only Returns Additions Since Last Access Ed Gordon python

I am writing a log parse script that needs to run ever 10 minutes or so to update some stats in a database. This subclass if the 'file' object looks for a '.filename.pkl' file which contains the seek offset of the previous end of the file, then sets the seek offset to that number before returning the file. On closing the file or StopIteration, it writes the new max offset to this pickle file.

January 22, 2007
Safe Addition Xing C Program checks whether the integer addition overflows by checking against the maximum limits found in limits.h December 3, 2006
Simple Addition William_Wilson Scheme adds two numbers October 6, 2006
Addition of two number mukesh_ranjan18 Java Adds 2 integers given by the user, then prints out the sum. August 1, 2006
Recursive Function that performs addition born2c0de C July 30, 2006
Basics of heapq w/python 2.4 additions John Nielsen python

The following code shows why you would want to use a heap instead of a list and the basics of using heapq in python with some additions for python 2.4( I've cleaned this up from earlier to make it hopefully clearer.)

September 13, 2004