mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
17 lines
266 B
C++
17 lines
266 B
C++
|
|
#include <string>
|
||
|
|
#include <iostream>
|
||
|
|
|
||
|
|
int main (int argc, char** argv) {
|
||
|
|
|
||
|
|
int i=0;
|
||
|
|
|
||
|
|
for (i=0; i<argc; i++) {
|
||
|
|
std::cout << "XX: " << i << " " << argv[i] << std::endl;
|
||
|
|
}
|
||
|
|
|
||
|
|
std::cout << "Address of 'i' == " << &i << std::endl;
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
|