7 char str[] = "ABCDEFGHIJKLMNOPQRSTUVXYZ";
14 for ( i = size, pt1 = &str[ size ]; i < 10; i++, *( pt1++ ) )
16 printf( "char: %s\n", pt1 );
17 // printf( "word: %s\n", &pt[ i ] );
24 //double average( int num, ... )
26 // /* Martin A. Hansen, July 2008 */
28 // /* Example of varable length argument list usage. */
30 // /* Requires '#include <stdarg.h>' */
37 // va_start( arguments, num );
39 // for ( x = 0; x < num; x++ )
41 // sum += va_arg( arguments, double );
44 // va_end( arguments );
50 //int main( int argc, char *argv[] )
54 // struct seq_entry *entry = NULL;
61 // fp = read_open( file );
63 // while ( ( fasta_get_entry( fp, entry ) ) != FALSE )
65 // printf( "seq_name: %s\n", entry->seq_name );
67 //// mem_free( entry->seq_name );
68 //// mem_free( entry->seq );
74 // printf( "count: %d\n", count );
76 // close_stream( fp );