iT邦幫忙

meebox 的問題討論列表 15

C-string的arry bound?

你可以寫 a[3] 沒問題, 如果是字串, 在字串尾端編譯器本來就會加上 '\0' 字元, strlen() 也是利用這個方式判斷字串結尾才能得到字串長度。...

VS COED 無法編譯C++

初步推測可能是你 gcc 的路徑有中文

陣列名稱與指標問題

提供給你參考 https://dev.to/codemee/c-yu-yan-de-zhen-lie-yu-zhi-wei-qi-pointer-2ikm

C++程式使用函式範本(Function template) 的疑難請教

單純定義 template 不會產生任何的 code, 所以你的 tools_hou.cpp 並不會產生任何 add 函式。 你應該把 template...

為何plt.show()過後,只出現<Figure size 1200x1400 with 0 Axes>,並沒有圖片出現?

你最後一行傳入的 num 是 0, 所以在 show_image_labels_predictions() 裡面的 for 迴圈根本不會執行, 所以不會有任何影...