Re: [AMBER] extract distribution from PairwiseDistances

From: Bill Ross <ross.cgl.ucsf.EDU>
Date: Tue, 2 Nov 2010 10:14:48 -0700

One hint:

> int FrameCount = *argv[1];

C requires that you explicitly convert types. argv[1] would be
a pointer to char *, i.e. a null-terminated string. *argv[1]
would be the address of that string in memory. So what you'd
want would be

      int FrameCount = atoi(argv[1]);


AMBER mailing list
Received on Tue Nov 02 2010 - 10:30:02 PDT
Custom Search