⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex5_16.cpp

📁 Visual C++ 2005的源代码
💻 CPP
字号:
// Ex5_16.cpp : main project file.
// Receiving multiple command liner arguments.

#include "stdafx.h"

using namespace System;

int main(array<System::String ^> ^args)
{
  Console::WriteLine(L"There were {0} command line arguments.",
    args->Length);
  Console::WriteLine(L"Command line arguments received are:");
    int i = 1;
  for each(String^ str in args)
    Console::WriteLine(L"Argument {0}: {1}", i++, str);

    return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -