AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / coding / 问题

问题[linux](coding)

Martin Hope
Leonardo Cavalcante
Asked: 2025-04-29 01:17:32 +0800 CST

通过 nix 安装时,NixOS 上的 rust 工具链出现错误

  • 6

我最近切换到 NixOS 并使用 Nix 包管理器安装了 Rust 工具链(rustup、cargo、rustc)。

但是,当我尝试打开预先配置的 Neovim 设置时,出现以下 LSP 错误:

Client rust-analyzer quit with exit code 1 and signal 0. Check log for errors: /home/user/.local/state/nvim/lsp.log

查看 lsp.log 文件,我看到以下错误消息: [ERROR] .../vim/lsp/rpc.lua:420 "rpc" "/run/current-system/sw/bin/rust-analyzer" "stderr" "error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.\n"

起初,我以为这可能是 Neovim 的问题,与 Nix 管理软件包的方式有关。因此,我尝试直接从终端运行 rust-analyzer,但仍然出现同样的错误:

$ rust-analyzer
error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.

我意识到 rust-analyzer 可能没有随 Nix 的 rustup 包自动安装,因此我也使用 Nix 包管理器明确安装了 rust-analyzer。

尽管如此,锈蚀分析仪的行为仍然相同。

运行 which rust-analyzer 正确显示路径:

$ which rust-analyzer
/run/current-system/sw/bin/rust-analyzer

但直接使用绝对路径运行它仍然会产生相同的“未知二进制”错误:

$ /run/current-system/sw/bin/rust-analyzer
error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.

此外,我重新安装了所有 Rust 软件包,包括 rustfmt 和 rustc,但现在尝试使用它们时(无论是直接在终端中还是通过 Neovim 集成)仍然遇到类似的问题。具体来说,我收到错误,提示 rustfmt 和 rustc 无法选择要运行的版本,因为没有明确指定版本,并且没有配置默认版本。我还使用 which 命令查找了这些二进制文件的位置,即使确认了正确的路径,运行它们仍然会导致同样的错误。

$ rustfmt
error: rustup could not choose a version of rustfmt to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.

$ rustc
error: rustup could not choose a version of rustc to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.

这让我想到几个问题:

  1. 考虑到 rust-analyzer 持续存在的“未知二进制”错误以及 rustfmt/rustc 的新错误,我是否应该通过 rustup(例如 rustup default stable、rustup component add rust-analyzer)而不是使用 Nix 包管理器来安装这些组件?通过 rustup 安装组件是否在某种程度上与 NixOS 的声明性和可重复性相矛盾?NixOS 的依赖项最好由 Nix 本身管理。

  2. 我是否错过了配置步骤,或者误解了 rustup(通过 Nix 安装)如何与 NixOS 上的 rust-analyzer、rustfmt 和 rustc(也通过 Nix 安装)等组件交互?

linux
  • 1 个回答
  • 56 Views
Martin Hope
Harry
Asked: 2025-04-27 20:55:26 +0800 CST

在 shell 脚本终止时调用一个函数(清理处理程序)

  • 5

是否可以在shell脚本终止时调用一个函数?我有一些守护进程在后台运行,它们的进程ID存储在一个数组中。我希望在脚本终止时(无论出于何种原因)调用一个清理函数/处理程序来终止所有守护进程。

# want the below function to be called when the shell script terminates for whatsoever reason
purge () {
  for pid in ${pids[@]}; do
    kill -9 $pid
  done
}

./daemon1 > a.txt 2>&1 & pids+=($!)
./daemon2 > b.txt 2>&1 & pids+=($!)
./daemon3 > c.txt 2>&1 & pids+=($!)

for pid in ${pids[@]}; do
  echo "process: $pid"
done
linux
  • 1 个回答
  • 47 Views
Martin Hope
OutstandingBill
Asked: 2025-04-21 12:13:05 +0800 CST

上传端口的名称由什么决定?

  • 5

为什么我看到串行端口名称发生了变化?这有关系吗?这是预料之中的吗?

我单击 VS Code 页脚中的“选择要使用的端口”:

显示串行端口选择器的工具栏

这会在 VSCode 窗口顶部打开一个下拉菜单。有时下拉菜单如下所示:

下拉菜单显示 USB1 - Silicon Labs

在其他时候(事实上大多数时候),它看起来像这样:

下拉菜单显示 ESP32

只需点击“选择要使用的端口”按钮,即可在后两者之间切换,无需更改任何物理设置。因此:

  • 点击:下拉菜单打开,显示“Silicon Labs”
  • 点击:下拉菜单关闭
  • 点击:下拉菜单再次打开,显示“ESP32”

有一次,使用不同的 USB 电缆,我看到了这种情况:

下拉菜单显示 USB0 - Silicon Labs

这是我的platformio.ini:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps = bodmer/TFT_eSPI@^2.5.33
lib_ldf_mode = chain
build_flags =
  -Os
  -DUSER_SETUP_LOADED=1
  -DST7789_DRIVER=1
  -DCGRAM_OFFSET
  -DTFT_CS=5
  -DTFT_DC=23
  -DTFT_RST=18
  -DTFT_MOSI=15
  -DTFT_SCLK=13
  -DTFT_BL=4
  -DTFT_BACKLIGHT_ON=HIGH
  -DLOAD_GLCD=1
  -DLOAD_FONT2=1
  -DLOAD_FONT4=1
  -DLOAD_FONT6=1
  -DLOAD_FONT7=1
  -DLOAD_FONT8=1
  -DLOAD_GFXFF=1
  -DSMOOTH_FONT=1
  -DSPI_FREQUENCY=40000000
linux
  • 1 个回答
  • 30 Views
Martin Hope
orange
Asked: 2025-04-16 07:43:21 +0800 CST

确定脚本已设置哪些环境变量

  • 5

我正在寻找一种方法来在脚本中确定另一个脚本设置了哪些环境变量。设置环境变量的脚本(env.sh)有各种逻辑来检索这些变量值,我想确定这些值是否从一个版本的存储库更改到另一个版本(但我无法跟踪env.shonly 的文件内容,因为即使它声明的环境变量发生了变化,它也可能保持不变)。

# main.sh

# Call env.sh to calculate a hash over the environment variables it has set (no idea how)
bash ./env.sh

# env.sh

export foo="foo" # could be changed directly in another version
export bar=`cat barversion` # content in `barversion` itself could change, but not env.sh
# ... more could be added, but we don't want to assume knowledge about this in main.sh

所引用的文件env.sh可能会发生变化,从而导致导出的环境变量发生变化,进而产生不同的哈希值

# barversion
1.0

bash ./env.sh理想情况下, in的调用main.sh实际上并不会污染环境变量范围main.sh(事实上bash ./env.sh不需要这样调用。该行只是一个占位符,用来指示我遇到困难的地方)。

任何帮助或正确方向的指示都将不胜感激。

linux
  • 2 个回答
  • 108 Views
Martin Hope
Nuemericon
Asked: 2025-04-16 06:46:39 +0800 CST

无法解决语法错误并且无法解析输入树

  • 5

我正在尝试为我的 Nvidia Jetson Nano 开发板创建新的 dtb 文件。核心问题是 SD 卡无法识别,但我确信这是 Nvidia 直接导致的。我在网上查找,找到了包含关键 dts 文件的仓库:“https://github.com/forecr/forecr_nano_kernel/tree/Jetpack-4.6.6”。我根据自己的需求修改了 forecr_nano_kernel-Jetpack-4.6.6/hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0002-p3449-0000-b00.dts 文件,因此在第一行添加了 /dts-v1/; ,并更改了

sdhci@700b0000 { /* SDMMC1 for SD card */
status = "disabled";
};

到

sdhci@700b0000 { /* SDMMC1 for SD card */
status = "okay";
};

在这里,我尝试了很多方法,甚至借助了 Gemini Deep Research、ChatGPT、deepseek、Stackoverflow 和 nvidia 论坛的帮助,但由于我对 dtc 编码并不是很了解,所以我希望在这里得到一些帮助。我的文件如下所示:tegra210-p3448-0002-p3449-0000-b00.dts

/dts-v1/;
#include "tegra210-porg-p3448-common.dtsi"
#include "porg-platforms/tegra210-porg-camera-rbpcv3-dual-imx477.dtsi"
#include "porg-platforms/tegra210-porg-camera-rbpcv2-dual-imx219.dtsi"
#include "porg-platforms/tegra210-porg-pinmux-p3448-0002-b00.dtsi"
#include "porg-platforms/tegra210-porg-gpio-p3448-0002-b00.dtsi"
#include "porg-platforms/tegra210-porg-p3448-emc-a00.dtsi"
/ {
model = "NVIDIA Jetson Nano Developer Kit";
compatible = "nvidia,p339-0000-b00+p3448-0002-b00", "nvidia,jetson-nano", "nvidia,tegra210";
nvidia,dtsfilename = __FILE__;
sdhci@700b0600 { /* SDMMC4 for EMMC */
status = "okay";
};
sdhci@700b0000 { /* SDMMC1 for SD card */
status = "okay";
};
spi@70410000 { /* QSPI */
status = "disabled";
};
gpio@6000d000 {
/* gpio-name for 40-pin header, gpio-name given as COL(10) x ROW(20) */
gpio-line-names = "", "", "", "", "", "", "", "", "", "",
"", "", "SPI1_MOSI", "SPI1_MISO", "SPI1_SCK", "SPI1_CS0", "SPI0_MOSI", "SPI0_MISO", "SPI0_SCK", "SPI0_CS0",
"SPI0_CS1", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "GPIO13", "",
"", "", "", "", "", "", "", "", "", "",
"UART1_RTS", "UART1_CTS", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "I2S0_FS", "I2S0_DIN", "I2S0_DOUT", "I2S0_SCLK",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "GPIO07", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "", "", "GPIO12", "", "", "", "", "",
"GPIO11", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "GPIO09", "", "", "",
"", "", "", "", "", "", "", "", "", "",
"", "", "SPI1_CS1", "", "", "", "", "", "", "";
};
};

我尝试使用 dtc 进行编译的命令是这样的:

dtc -I dts -O dtb -o hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0002-p3449-0000-b00.dtb hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0002-p3449-0000-b00.dts -i hardware/nvidia/platform/t210/porg/kernel-dts/

我收到此错误:

Error: hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0002-p3449-0000-b00.dts:2.1-9 syntax error
FATAL ERROR: Unable to parse input tree

我正在研究包含的文件,但它们看起来并不糟糕(好吧,我很愚蠢,但无论如何)并且 dtc 可以与 echo 一起使用'/ { compatible = "test"; };' | dtc -I dts -O dtb -o test.dtb

我的操作系统是

Ubuntu 18.04 (I need that for installing the drivers / Software to the nvidia nano)
I am Using an AMD Ryzen 7 5800x
Version: DTC 1.6.1-g9bb73dd8

我请求帮助,因为这是我的科学项目:X

linux
  • 1 个回答
  • 48 Views
Martin Hope
Planeptunia
Asked: 2025-04-15 21:34:59 +0800 CST

运行 shell 脚本的 systemd 服务在启动时不会运行 cat 任务

  • 8

我有一个运行基于 Debian 的 Linux 发行版的微控制器。
我有一个 Nextion 屏幕,通过 /dev/ttyMOD1 端口上的 UART 连接到它。我有一个脚本,它使用 stty,并使用 cat 从屏幕获取数据并将其输出到 mqtt 主题。当我从 shell 运行脚本,或者在系统启动后重启服务时,我能够通过 ssh 连接,它运行正常。但是,当系统启动时,服务内部的 cat 任务由于某种原因无法运行,只有在服务重启后才能运行。
脚本和服务文件对用户具有 +x 权限。我需要帮助来解决 cat 在启动时无法运行的问题。

脚本和服务的文本:
serial.service

[Unit]
Description=Serial script on startup
Requires=wb-mqtt-serial.service
After=wb-mqtt-serial.service
[Service]
User=root
WorkingDirectory=/mnt/data/root
ExecStart=/mnt/data/root/serial.sh
Restart=on-failure
Type=simple
[Install]
WantedBy=multi-user.target

serial.sh

#!/bin/bash
mqtt-delete-retained "/devices/screen/#"

stty -F /dev/ttyMOD1 ospeed 9600 ispeed 9600 raw clocal -parenb -echo cs8

CR="$(echo -e '\r')"

exec 4<> /dev/ttyMOD1
/bin/cat <&4 | while :
do
    IFS="$CR" read -r line
    case "$line" in quit*)
        break
        ;;
    *)
    if [[ -n "$line" ]]; then
        mosquitto_pub -t /devices/screen/controls/raw/meta/type -r -m text
        mosquitto_pub -t /devices/screen/controls/raw -r -m "$line"
    fi

    ;;
    esac
done
linux
  • 1 个回答
  • 78 Views
Martin Hope
THX
Asked: 2025-04-11 22:56:49 +0800 CST

如何移动 systemd 用户单元配置目录

  • 6

我想在 Linux 主机上为所有用户移动 systemd 用户单元目录。

本机用户单元目录位于

${HOME}/.config/systemd/user

由于各种原因,systemd 无法访问这些单元。因此,用户无法使用这些systemd --user单元来启用任何用户特定或系统范围的单元。

原则上,Systemd 范围内的用户单元可以由管理员在 下部署/etc/systemd/user,并由用户启动。但是,启用用户单元时,Systemd 会尝试在 下创建指向该单元的符号链接${HOME}/.config/systemd/user,但此操作会失败,因为 Systemd 无法访问该用户目录。

因此,我想配置 systemd 将用户基础目录更改为除 之外的其他目录${HOME}/.config/systemd/user,即将其更改为 systemd 和用户均可平等访问的路径。

linux
  • 3 个回答
  • 27 Views
Martin Hope
lyrically wicked
Asked: 2025-04-10 15:28:45 +0800 CST

如何让 Gawk 处理“find”命令找到的文件,并将“-printf”选项的相应输出作为变量?

  • 6

我想做以下事情:

  1. 使用命令查找一组特定的文件find;
  2. 对于任何找到的文件,将选项的相应输出-printf放入名为的变量中str并将其传递给 Gawk(并且不要在其他任何地方打印/使用该输出);
  3. 针对相应文件执行 Gawk 程序。相应变量的内容str必须在程序中可用。

例如,我有一个名为 的目录/d/ir。它包含两个文件,file1.txt和file2.txt。这些文件采用 UTF-8 编码。名为 的文件file1.txt包含以下两行文本:

A
BC 

文件大小为4字节。

文件名为,file2.txt包含以下三行文本:

D
EF
GHI

文件大小为8字节。

我想打印所有这些行,并在每行后面附加相应的内容str(文件名、文件大小)。因此预期输出是

A;d/ir/file1.txt,4
BC;d/ir/file1.txt,4
D;d/ir/file2.txt,8
EF;d/ir/file2.txt,8
GHI;d/ir/file2.txt,8

我尝试了以下命令:

LC_ALL=en_US.utf8; find "/d/ir" -name "file*.txt" -type f -printf "%p,%s" -execdir gawk -v str="$7" '{
print($0 ";" str)
}' "{}" \+

(在这里我希望$7,作为位置参数,将引用"%p,%s")但它不会打印预期的输出:它显示两个输出-printf(我不希望发生这种情况),然后五行没有所需的数据str。

正确的命令是什么?请注意,我不希望该-printf选项的输出在 Gawk 上下文之外显示/打印:我只想将它们传递给 Gawk,这样只有 Gawk 程序知道如何使用它们。如果 Gawk 程序根本不使用它们,则它们不应该显示在任何地方。

由于该命令将用于许多文件,因此最大化性能和最小化内存消耗非常重要。

linux
  • 4 个回答
  • 131 Views
Martin Hope
SlimDeluxe
Asked: 2025-04-09 18:20:18 +0800 CST

将 zsh 设置为 Lando 的默认 shell

  • 6

我已经在用于 Lando 的 Docker 镜像中安装了 zsh 和 oh-my-zsh,但在使用 进入时我似乎无法更改默认 shell lando ssh。

Oh-my-zsh 正在使用CHSH=yes参数安装,但似乎没有效果。

我试过:

  1. 创建.profile包含以下内容的文件:
export SHELL=`which zsh`
[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l
  1. 创建一个.bash_profile包含以下内容的:
export SHELL=/bin/zsh
exec /bin/zsh -l

...正如这个答案所建议的那样。
但我总是登录到/bin/bash。

但是,当我输入时zsh,我输入了 zshell 并且我的.zshrc应用已成功。

我该如何修复此问题?

这是完整的 Docker 镜像构建脚本。它不包含上述尝试。我在容器本身中尝试了这些尝试,然后重新启动容器,并再次通过 SSH 连接到容器。镜像是公开的,可在此处获取:slimdeluxe/php:8.3-v1.1

FROM devwithlando/php:8.3-fpm-4

# Upgrade system
RUN apt-get update && apt-get -y upgrade

# Install system tools
RUN apt-get install -y tree nano

# Install locales
RUN apt-get install -y locales locales-all

# Add PHP extension helper
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

# Install PHP extensions
RUN chmod +x /usr/local/bin/install-php-extensions && sync && \
  install-php-extensions sqlsrv pdo_sqlsrv

# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get install -y nodejs

# Instal/update NPM
RUN npm install npm --global

# Install build dependencies for screen
RUN apt-get install -y build-essential libncurses5-dev automake texinfo wget \
    git libtool pkg-config m4 perl

# Install newer Autoconf version
RUN wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz && \
    tar -xzf autoconf-2.71.tar.gz && \
    cd autoconf-2.71 && \
    ./configure && \
    make && \
    make install && \
    cd .. && \
    rm -rf autoconf-2.71 autoconf-2.71.tar.gz

# Download, compile and install screen 5.0.0
RUN wget https://ftp.gnu.org/gnu/screen/screen-5.0.0.tar.gz && \
    tar -xzf screen-5.0.0.tar.gz && \
    cd screen-5.0.0 && \
    ./autogen.sh && \
    ./configure && \
    make && \
    make install && \
    cd .. && \
    rm -rf screen-5.0.0 screen-5.0.0.tar.gz

# Install zsh and ohmyzsh
RUN apt-get install -y zsh
USER www-data

RUN cd /var/www && \
    wget https://install.ohmyz.sh -O install.sh && \
    CHSH=yes RUNZSH=no KEEP_ZSHRC=no sh install.sh && \
    rm install.sh

# Create default .zshrc in home directory
RUN echo 'export ZSH="$HOME/.oh-my-zsh"\n\
ZSH_THEME="crunch"\n\
plugins=(git laravel)\n\
source $ZSH/oh-my-zsh.sh\n' > ~/.zshrc

USER root

linux
  • 2 个回答
  • 34 Views
Martin Hope
Thermal_insulator
Asked: 2025-04-05 17:35:44 +0800 CST

Android NDK ld.lld:错误:重复符号:_start >>> 在 crtbegin.c 中定义

  • 6

Hello World我正在尝试在我的 Android 手机上组装和运行一个简单的程序。我的主机笔记本电脑是Ubuntu 22.0464 位系统。我下载了android-ndk-r27c并将其解压到我的 SDK 所在的 Android 文件夹中。

这是我从这里获取的 hello64bit.s ,它的路径是/home/developer/Android/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin


/* Data segment: define our message string and calculate its length. */
msg:
    .ascii        "Hello, ARM64!\n"
len = . - msg

.text

/* Our application's entry point. */
.globl _start
_start:
    /* syscall write(int fd, const void *buf, size_t count) */
    mov     x0, #1      /* fd := STDOUT_FILENO */
    ldr     x1, =msg    /* buf := msg */
    ldr     x2, =len    /* count := len */
    mov     w8, #64     /* write is syscall #64 */
    svc     #0          /* invoke syscall */

    /* syscall exit(int status) */
    mov     x0, #0      /* status := 0 */
    mov     w8, #93     /* exit is syscall #93 */
    svc     #0          /* invoke syscall */

当我运行时./aarch64-linux-android27-clang -o hello64.o hello64bit.s出现以下错误:

ld.lld: error: duplicate symbol: _start
>>> defined at crtbegin.c
>>>            /home/developer/Android/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin/./../sysroot/usr/lib/aarch64-linux-android/27/crtbegin_dynamic.o:(_start)
>>> defined at /tmp/hello64bit-fb91b4.o:(.text+0x0)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

当我将名称更改start为时,start1出现undefined main错误:

ld.lld: error: undefined symbol: main
>>> referenced by crtbegin.c
>>>               /home/developer/Android/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin/./../sysroot/usr/lib/aarch64-linux-android/27/crtbegin_dynamic.o:(_start_main)

我做错什么了?

linux
  • 1 个回答
  • 37 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    重新格式化数字,在固定位置插入分隔符

    • 6 个回答
  • Marko Smith

    为什么 C++20 概念会导致循环约束错误,而老式的 SFINAE 不会?

    • 2 个回答
  • Marko Smith

    VScode 自动卸载扩展的问题(Material 主题)

    • 2 个回答
  • Marko Smith

    Vue 3:创建时出错“预期标识符但发现‘导入’”[重复]

    • 1 个回答
  • Marko Smith

    具有指定基础类型但没有枚举器的“枚举类”的用途是什么?

    • 1 个回答
  • Marko Smith

    如何修复未手动导入的模块的 MODULE_NOT_FOUND 错误?

    • 6 个回答
  • Marko Smith

    `(表达式,左值) = 右值` 在 C 或 C++ 中是有效的赋值吗?为什么有些编译器会接受/拒绝它?

    • 3 个回答
  • Marko Smith

    在 C++ 中,一个不执行任何操作的空程序需要 204KB 的堆,但在 C 中则不需要

    • 1 个回答
  • Marko Smith

    PowerBI 目前与 BigQuery 不兼容:Simba 驱动程序与 Windows 更新有关

    • 2 个回答
  • Marko Smith

    AdMob:MobileAds.initialize() - 对于某些设备,“java.lang.Integer 无法转换为 java.lang.String”

    • 1 个回答
  • Martin Hope
    Fantastic Mr Fox msvc std::vector 实现中仅不接受可复制类型 2025-04-23 06:40:49 +0800 CST
  • Martin Hope
    Howard Hinnant 使用 chrono 查找下一个工作日 2025-04-21 08:30:25 +0800 CST
  • Martin Hope
    Fedor 构造函数的成员初始化程序可以包含另一个成员的初始化吗? 2025-04-15 01:01:44 +0800 CST
  • Martin Hope
    Petr Filipský 为什么 C++20 概念会导致循环约束错误,而老式的 SFINAE 不会? 2025-03-23 21:39:40 +0800 CST
  • Martin Hope
    Catskul C++20 是否进行了更改,允许从已知绑定数组“type(&)[N]”转换为未知绑定数组“type(&)[]”? 2025-03-04 06:57:53 +0800 CST
  • Martin Hope
    Stefan Pochmann 为什么 {2,3,10} 和 {x,3,10} (x=2) 的顺序不同? 2025-01-13 23:24:07 +0800 CST
  • Martin Hope
    Chad Feller 在 5.2 版中,bash 条件语句中的 [[ .. ]] 中的分号现在是可选的吗? 2024-10-21 05:50:33 +0800 CST
  • Martin Hope
    Wrench 为什么双破折号 (--) 会导致此 MariaDB 子句评估为 true? 2024-05-05 13:37:20 +0800 CST
  • Martin Hope
    Waket Zheng 为什么 `dict(id=1, **{'id': 2})` 有时会引发 `KeyError: 'id'` 而不是 TypeError? 2024-05-04 14:19:19 +0800 CST
  • Martin Hope
    user924 AdMob:MobileAds.initialize() - 对于某些设备,“java.lang.Integer 无法转换为 java.lang.String” 2024-03-20 03:12:31 +0800 CST

热门标签

python javascript c++ c# java typescript sql reactjs html

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve