37
|
1 |
/*
|
|
2 |
============================================================================
|
|
3 |
Name : $(baseName).cpp
|
|
4 |
Author : $(author)
|
|
5 |
Version :
|
|
6 |
Copyright : $(copyright)
|
|
7 |
Description : Exe source file
|
|
8 |
============================================================================
|
|
9 |
*/
|
|
10 |
|
|
11 |
// Include Files
|
|
12 |
|
|
13 |
#include "$(baseName).h"
|
|
14 |
|
|
15 |
// Defined Constants
|
|
16 |
|
|
17 |
#define Constant "CONSTANT"
|
|
18 |
|
|
19 |
|
|
20 |
// Global Variables
|
|
21 |
|
|
22 |
static int globalValue;
|
|
23 |
|
|
24 |
// Local Functions
|
|
25 |
|
|
26 |
void printMessage(char* message) {
|
|
27 |
printf(message);
|
|
28 |
}
|
|
29 |
|
|
30 |
// Main Function
|
|
31 |
|
|
32 |
int main(int nArgs, char **args) {
|
|
33 |
printMessage("Hello, world!\n");
|
|
34 |
printMessage("$(baseName)");
|
|
35 |
}
|
|
36 |
|
|
37 |
|