extios.dll
1.0.1
dotnet add package extios.dll --version 1.0.1
NuGet\Install-Package extios.dll -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="extios.dll" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add extios.dll --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: extios.dll, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install extios.dll as a Cake Addin #addin nuget:?package=extios.dll&version=1.0.1 // Install extios.dll as a Cake Tool #tool nuget:?package=extios.dll&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
extios
这个库是对标准输入输出操作的扩展,可以对ANSI、宽字符、UTF-8、UTF-16、UTF-32编码的字符串进行输入输出操作。适用于Windows和Linux。
#include <extios/extiostream.h>
#include <string>
int main(void)
{
auto text = std::u32string(U"你好骚啊👌");
extios::u32cout << text << std::endl;
std::u16string text2;
extios::u16cin >> text2;
extios::u16cout << text2 << std::endl;
return 0;
}
使用extios::u32cout
对象可以输出UTF-32编码的字符串,使用extios::u16cin
对象可以将控制台/终端输入的字符串保存为UTF-16编码的字符串。
类似的对象有以下这些:
extios::cout
:专用于输出ANSI字符串extios::wcout
:专用于输出宽字符字符串extios::u8cout
:专用于输出UTF-8编码的字符串extios::u16cout
:专用于输出UTF-16编码的字符串extios::u32cout
:专用于输出UTF-32编码的字符串extios::cin
:专用于输入ANSI字符串extios::wcin
:专用于输入宽字符字符串extios::u8cin
:专用于输入UTF-8编码的字符串extios::u16cin
:专用于输入UTF-16编码的字符串extios::u32cin
:专用于输入UTF-32编码的字符串extios::wcin
:专用于输入宽字符字符串
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- extios.dll.redist (>= 1.0.1)
- libscodecvt.dll (>= 3.0.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fix bug.