vala 问答列表

使用标准库对切片进行切片

作者:0xbadf00d 提问时间:4/14/2016

标准库中是否有允许我切片的功能,或者我是否需要编写类似的东西std::slice std::slice refine(std::slice const& first, std::slice cons...

为什么 std::valarray 的帮助程序类的某些赋值运算符返回 void?

作者:Blackteahamburger 提问时间:10/7/2022

例如,赋值运算符:std::slice_array void operator=(const valarray<T>&) const; //#1 void operator=(const T&) c...

为什么 filestream.close 不可用

作者:rnso 提问时间:10/1/2022

我在此 Vala 文档页面上看到以下代码示例: public static int main (string[] args) { // Opens "foo.txt" for reading ("...

写入 stdin,从 glib/gtk Vala 中的 stdout 子进程/进程读取

作者:user1078796 提问时间:11/11/2023

我有一个测试bash / sh脚本。它只是显示一个问题并从控制台读取答案,然后显示输出: #!/bin/bash # Ask the user for their name echo Hello, ...


共4条 当前第1页