File: mmcif_test.c

package info (click to toggle)
python-biopython 1.42-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 17,584 kB
  • ctags: 12,272
  • sloc: python: 80,461; xml: 13,834; ansic: 7,902; cpp: 1,855; sql: 1,144; makefile: 203
file content (20 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>

main()
{
  int flag=1;

  mmcif_set_file(stdin);

  while(flag)
    {
      flag=mmcif_get_token();
      if(!flag)
	{
	  return;
	}	
      printf("%d ", flag);
      printf("%s\n", mmcif_get_string());
    }	
}