/[cvs]/dary/sk2eur.cpp
ViewVC logotype

Contents of /dary/sk2eur.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Sat Feb 14 14:47:01 2009 UTC (9 years, 8 months ago) by riso
Branch: MAIN
CVS Tags: HEAD
Konverzia na euro

1 #include "db.h"
2
3 int main(int argc, char **argv) {
4 int i;
5 tPersonId p;
6 tEntryId e;
7
8 OpenDb("./");
9 for (i=0; i<entries->n; i++) {
10 tEntryId e = (tEntryId)(entries->data[i]);
11 UpdateEntry( e, e->person, e->date, (long)(e->sum/30.126+0.5) );
12 }
13 CloseDb();
14 return 0;
15 }

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.26