Check Storage Capacity Snippets


This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

05 October, 2016   

This code accumulates 100 units of part number 9999 from various storage bins

07 September, 2014   

The "WITH CHECK OPTION" is used to indicate that Oracle will prevent any changes to the table or view that would produce rows that are not included in the subquery. When used in the subquery of a DML statement, you can specify this clause in a subquery in the FROM clause but not in subquery in the WHERE clause.

20 August, 2014   

Javascript function to check or uncheck all the checkboxes in a form.

07 February, 2011   

Check if Number is Even/Odd

02 June, 2011   

This will check an email, to see if it is in a valid format.

13 February, 2011   

Check for Empty Elements

29 March, 2012   

ASP code example to check reciprocal link

23 September, 2011   

ASP code snippet to check Reciprocal Link

13 February, 2011   

Check if Checkbox is Checked

04 February, 2013   

Visual Basic code to check if value is decimal.

19 February, 2013   

PHP is_assoc_array function to check if given array is associative or not

How to check admin rights for XP and 2000

28 February, 2013   

This function takes a string and an output buffer and a desired width.

14 February, 2017   

jQuery doesn't really have an .hasAttr() function. You might assume that it does, but alas, it does not.

30 March, 2011   

Need to people out if they have been inactive for too long? Do it with this piece of code. This takes 3 functions to complete the inactive session task. 1. We need to check if the person is actually logged in using our isLogged function 2. We need the function to check the time the page loaded, and when the last page was loaded 3. We need a...

04 May, 2011   

Need to people out if they have been inactive for too long? Do it with this piece of code. Introduction ----------------------- This takes 3 functions to complete the inactive session task. 1. We need to check if the person is actually logged in using our isLogged function 2. We need the function to check the time the page loaded, and when...

C++ Example code to convert a real number to the string

Converts the given floating-point value to a zero-terminated string. The supplied buffer should be large enough to accommodate the converted value. The value includes a decimal point and possiblesign and exponent information, plus a terminating null character, which is appended automatically. Returns: a pointer to zero-terminated...