![](/img/trans.png)
[英]Can we use same function name in 2 different file in C by giving static?
[英]Can we use same function in 2 different library file , if both the library consumed in same DLL file
function 可以用於兩個或多個不同的源文件,只要編譯它們產生的 object 文件與定義 function 的 object 文件鏈接,無論是在 DLL 中還是其他地方。
一個 function 可以在一個源文件中定義並在另一個源文件中使用,這兩個源文件都編譯成 object 文件並鏈接到相同的 DLL。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.