vs遇到問題彙總

2021-08-21 18:28:34 字數 803 閱讀 7954

1.找不到stdio.h/stdlib.h/string.h等檔案的解決方法

(1)原來的專案所採用windows sdk 已經發生了變化。因此解決的辦法是:專案->屬性->配置屬性->常規->windows sdk版本。

(2)在包含目錄中新增:e:\windows kits\10\include\10.0.17134.0\ucrt (這裡自己的vs裝在**就在**找目錄,我的vs在e盤下,座椅我就在e盤下找windows kits)

2.無法開啟包括檔案: "iostream.h": no such file or directory

#include

改為:#include

using namespace std;

3.是否忘記了向源中新增「#include "stdafx.h"

在解決方案資源管理器中專案右鍵,屬性 - c/c++ - 預編譯頭 - 不使用預編譯頭

4.無法找到windows.h

e:\windows kits\10\include\10.0.17134.0\um

e:\windows kits\10\include\10.0.17134.0\shared

e:\windows kits\10\include\10.0.17134.0\winrt

4.無法開啟包括檔案:「corecrt.h」

e:\windows kits\10\include\10.0.17134.0\ucrt

webpack遇到問題彙總

使用npm安裝webpack時,遇到如下錯誤 可以知道是網路連線有問題,解決方法如下 關閉npm的https npm config set strict ssl false清除npm的 命令如下 把倉庫設定為 npm config set registry 設定完命令列 再安裝webpack就成功了...

ok6410學習遇到問題彙總

1 sd不能啟動uboot 現象 1 使用 嵌入式linux開發實用手冊 提供sd卡燒寫工具,燒寫uboot.bin 2 其中sd卡型別 sandisk 閃迪 的8g 3 ok6410開發板設定sd卡啟動,上電後,串列埠無列印資訊。分析可能原因 1 ubuntu或vmware系統問題 因為剛換win...

Vue使用中遇到問題彙總(二)

1 vue cli使用npm run dev報錯cannot get config index.js裡有兩個環境 乙個是build,乙個dev。在config index.js裡面修改,build dev裡面不需要修改,dev 我本來在window上面開發的,後面移到linux上面,剛開始報錯,我就...