新手来了 我刚从终端运行我编写的 C++ 程序时出错:error: ‘stoi’ is not a member of ‘std’. 他们告诉我编译器太旧了。
我正在使用 Ubuntu 14.04。
我的 g++ 版本是 4.8.4。
如何升级?
我在双启动中安装了 Windows 10 和 Ubuntu 14.04。每个大约 125GB。
在 Windows 更新之后,PC 只向我展示了 grub 救援终端。我既不能使用 Ubuntu,也不能使用 Windows。
我插入了 liveCD 并运行了引导修复。
之后,Windows 正常出现,但没有 GRUB,也没有 Ubuntu。
这是我运行时得到的sudo fdisk -l:
Ubuntu 必须是/dev/sda2或/dev/sda4,因为它们是最大的分区,但它们都不能被识别为 Linux 系统。
我该怎么办?