File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 55
661681493184 d:\nicos code\shell\nshell\nshell\help.h
77
8+ 1681999616 source:d:\nicos code\shell\nshell\nshell\help.cpp
9+ "help.h"
10+ <iostream>
11+
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
22<CodeBlocks_layout_file >
33 <FileVersion major =" 1" minor =" 0" />
4- <ActiveTarget name =" Release " />
5- <File name =" main .cpp" open =" 1" top =" 1 " tabpos =" 1 " split =" 0" active =" 1" splitpos =" 0" zoom_1 =" 0" zoom_2 =" 0" >
4+ <ActiveTarget name =" Debug " />
5+ <File name =" help .cpp" open =" 1" top =" 0 " tabpos =" 2 " split =" 0" active =" 1" splitpos =" 0" zoom_1 =" 0" zoom_2 =" 0" >
66 <Cursor >
7- <Cursor1 position =" 697 " topLine =" 3 " />
7+ <Cursor1 position =" 330 " topLine =" 0 " />
88 </Cursor >
99 </File >
10- <File name =" help .cpp" open =" 1" top =" 0 " tabpos =" 3 " split =" 0" active =" 1" splitpos =" 0" zoom_1 =" 0" zoom_2 =" 0" >
10+ <File name =" main .cpp" open =" 1" top =" 1 " tabpos =" 1 " split =" 0" active =" 1" splitpos =" 0" zoom_1 =" 0" zoom_2 =" 0" >
1111 <Cursor >
12- <Cursor1 position =" 330 " topLine =" 0 " />
12+ <Cursor1 position =" 787 " topLine =" 3 " />
1313 </Cursor >
1414 </File >
1515</CodeBlocks_layout_file >
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ void help_generic() {
55 std::cout << " help - Shows this, what else do I have to say?\n " ;
66 std::cout << " version - Shows the NShell build number.\n " ;
77 std::cout << " c.version - Same as version, but in a single line.\n " ;
8+ std::cout << " contrib - Lists all contributors of NShell.\n " ;
89 std::cout << " exit - Closes the NShell.\n " ;
910}
Original file line number Diff line number Diff line change 11#include " help.h"
22#include < iostream>
33
4- int buildNr = 5 ;
4+ int buildNr = 6 ;
55
66int main ()
77{
@@ -17,9 +17,10 @@ int main()
1717 if (command_to_run == " version" ) {
1818 std::cout << " NShell\n " << " Build " << buildNr << ' \n ' ;
1919 }
20-
20+
2121 else if (command_to_run == " contrib" ) {
2222 std::cout << " Nico Lucien\n Erik P" << ' \n ' ;
23+ }
2324
2425 else if (command_to_run == " c.version" ) {
2526 std::cout << " NShell Build " << buildNr << ' \n ' ;
You can’t perform that action at this time.
0 commit comments