Adds a basic c++ app using ncurses and a build system.
This commit is contained in:
19
sbf-cpp/main.cpp
Normal file
19
sbf-cpp/main.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <ncurses.h>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
// cout << "Hello, World!" << endl;
|
||||
initscr();
|
||||
raw();
|
||||
noecho();
|
||||
keypad(stdscr, true);
|
||||
|
||||
printw("Hello, World!");
|
||||
refresh();
|
||||
getch();
|
||||
endwin();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user