mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
29 lines
412 B
C++
29 lines
412 B
C++
|
|
|
|
#include <string>
|
|
#include <iostream>
|
|
|
|
void function1 (const std::string& message);
|
|
|
|
int main (int argc, char** argv) {
|
|
|
|
int j = 0;
|
|
|
|
for (int i=0; i<argc; i++) {
|
|
std::cout << "XX: "
|
|
<< i
|
|
<< " "
|
|
<< argv[i]
|
|
<< std::endl;
|
|
}
|
|
|
|
std::string message = "Hello, World!";
|
|
|
|
j++;
|
|
|
|
function1(message);
|
|
|
|
return 0;
|
|
}
|
|
|