- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cc
More file actions
Latest commit
20 lines (18 loc) · 386 Bytes
/
Copy pathmain.cc
File metadata and controls
20 lines (18 loc) · 386 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<stdio.h>
#include"config.h"
#ifdef USE_MY_COMPILER
#include<Compiler.h>
#endif
#ifdef USE_DB
#include<database.h>
#endif
intmain(int argc, char** argv) {
printf("%s VERSION: %d.%d\n", argv[0], APP_VERSION_MAJOR, APP_VERSION_MINOR);
#ifdef USE_DB
start_database();
#endif
#ifdef USE_MY_COMPILER
printf("giao: %s\n", (char*)compiler("111"));
#endif
return0;
}