Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <getopt.h>
#include "slc.hh"
#include "options.hh"
/*!
** Program entry point
**
** @param argc arg count
** @param argv arg vector
**
** @return program err code
*/
int main(int argc, char *argv[])
{
Options o;
// get options
o.load(argc, argv);
// Init ncurses
initscr();
// register end stop ncurses before exit
atexit((void (*)(void)) endwin);
// Processing
printw("salut !!!!");
addch('a' |A_BOLD);
refresh();
getch();
WINDOW *sender;
WINDOW *receiver;
return 0;
}