aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/echo.cpp
blob: 6d6e6df7d2e2e7d0ad12017fa0cfac6bebec2592 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "winapi-common" project.
// For details, see https://github.com/egor-tensin/winapi-common.
// Distributed under the MIT License.

// Simple UTF-16 echo.

#include <iostream>

int wmain(int argc, wchar_t* argv[]) {
    for (int i = 1; i < argc; ++i) {
        std::wcout << argv[i] << L'\n';
    }
    return 0;
}