forked from glen/cplusminus
refactor: move C++ source to cxx subdirectory
This commit is contained in:
parent
a8fba52b44
commit
13329f9f6b
1 changed files with 0 additions and 0 deletions
14
cpm/cxx/cpm.cxx
Normal file
14
cpm/cxx/cpm.cxx
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include <iostream>
|
||||
|
||||
int main (int argc, char* argv[])
|
||||
{
|
||||
using namespace std;
|
||||
|
||||
if (argc < 2)
|
||||
{
|
||||
cerr << "error: missing name" << endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
cout << "Hello, " << argv[1] << '!' << endl;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue