Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
rm old header; fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbarnett committed Aug 22, 2017
1 parent 6939a4a commit dde7d68
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions example/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@
// This header file is required for creating a Trajectory object
#include "gmxcpp/Trajectory.h"

// This header file is required for some of the command line things used below
#include "gmxcpp/CommandLine.h"

using namespace std;

bool parseCommandLine(int argc, char *argv[], string *xtcfile, string *ndxfile);
void print(Trajectory *traj, int first, int last, string group, string outfile);
void printUsage(string program);

Expand All @@ -57,7 +53,7 @@ int main(int argc, char *argv[])
const int first = 0;
const int last = 5;
string outfile = "out.dat";
if (argc != 3) {printUsage(argv[0]) return -1};
if (argc != 3) {printUsage(argv[0]); return -1;};
string xtcfile = argv[1];
string ndxfile = argv[2];

Expand Down

0 comments on commit dde7d68

Please sign in to comment.