Generate A Spiral Matrix For N Elements Snippets


* Code to generate spiral matrix for n elements where n >= 1 * To generate spiral matrix for n elements just * Change the value of MAX to whatever u want :)

C+ source code for Generate a spiral matrix for n elements

Need to adjust this code to be encapsulated. Linestyle is not being called correctly.

16 October, 2012   

MySQL code to generate random string

11 May, 2013   

Generate CAPTCHA images for form validation without any outside library's or plug-ins

22 May, 2013   

Example code shows how to draw a Linear Gradient

14 May, 2012   

How to generate SYNONYMS SQL

13 February, 2011   

Check for Empty Elements

Procedural Programming technique shows creation of Pascal's Triangl

04 December, 2011   

Example of If Statement in python

CSS code example for Clickable Elements a Pointer Cursor

To generate numbers of the form 2^i * 3^j * 5^k

02 July, 2012   

:even and :odd (Select elements with an even index or odd index elements. The index starts from 0.)

This basic snippet will create a random authentication code, or just a random string.

C code snippet for merging sort algorithm to sort

20 March, 2012   

HTML code example for Style HTML elements

Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).

13 October, 2012   

You need to give each element a sequentially numbered tab index value in order for this script to work properly.

Example code for merge sort of an integer list

15 November, 2016   

Add this to the Flash embed code