refactor: move C++ source to cxx subdirectory

This commit is contained in:
Glen Whitney 2022-12-26 20:22:14 -05:00
parent a8fba52b44
commit 13329f9f6b

14
cpm/cxx/cpm.cxx Normal file
View 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;
}