blob: fad8a40362e7fa752f145986e2843ec38583a233 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <iostream>
using namespace std;
int main (int argc, char* argv[])
{
if (argc != 2)
{
cerr << "usage: " << argv[0] << " <name>" << endl;
return 1;
}
cout << "Hello, " << argv[1] << "!" << endl;
}
|