‘string’ does not name a type 錯誤解析

‘string’ does not name a type 今天寫代碼有一次碰見這錯誤!雖然不是第一次碰見了,但仍是耽誤了一小會,爲了避免再耽誤時間,因此把錯誤寫下post 示例理解:spa #ifndef EMP_H #define EMP_H #include <string> struct menuEntry { string uID; //error: 'string' does not
相關文章
相關標籤/搜索