Help for this page

Select Code to Download


  1. or download this
    s#/\*[^*]*\*+([^/*][^*]*\*+)*/|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^/"'
    +\\]*)#defined $2 ? $2 : ""#gse;
    
  2. or download this
    /* I have good commenting style */
    i = 1;
    ...
    j = i;
    
    j++;
    
  3. or download this
    i = 1;
    
    ...
    j = i;
    
    j++;
    
  4. or download this
    i = 1;
    i++;
    j = i;
    
    j++;
    
  5. or download this
    s#/\*[^*]*\*+([^/*][^*]*\*+)*/\n|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^/
    +"'\\]*)#defined $2 ? $2 : ""#gse;
    
  6. or download this
    void function foo(void)
    {
        /*Indented comment*/
        i = 1;
    }
    
  7. or download this
    void function foo(void)
    {
            i = 1;
    }
    
  8. or download this
    /*This is a bogus function*/
    void function foo(void) /*My function is the best*/
    ...
      /*And more!*/
      j++;
    /*The end!*/}
    
  9. or download this
    void function foo(void)
    {
    ...
      
      j++;
    }