File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11# NShell Changelog
22
3+ ## Build 2
4+
5+ - Now you can type something in, but then it just says goodbye.
6+
37## Build 1
48
59- Added build information
Original file line number Diff line number Diff line change 1- #include < array>
21#include < iostream>
32#include < limits>
4- #include < span>
53
6- int buildNr = 1 ;
4+ int buildNr = 2 ;
75
86int main ()
97{
108 std::cout << " NShell" << ' \n ' ;
119 std::cout << " Build: " << buildNr << ' \n ' ;
1210 std::cout << " Early prototype! Don't expect it to be useful." << ' \n ' ;
1311
12+ std::cout << " NShell > " ;
13+ std::string command_to_run;
14+ std::cin >> command_to_run;
15+
16+ std::cout << " You would have run " << command_to_run << " . Thanks for testing. Goodbye." ;
17+
1418 std::cin.clear ();
1519 std::cin.ignore (std::numeric_limits<std::streamsize>::max (), ' \n ' );
1620 std::cin.get ();
You can’t perform that action at this time.
0 commit comments