Files
seer/tests/helloscons/helloscons.cpp
T

29 lines
412 B
C++
Raw Normal View History

2023-08-26 10:50:58 -05:00
#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;
}