Ubuntu的標頭檔 - Linux

Kumar avatar
By Kumar
at 2011-05-27T03:47

Table of Contents

小弟我在編譯的時候

一直出現找不到標頭檔的錯誤


google跟爬文之後..也都找不到好辦法解決


標頭檔不是內建的那種標頭檔..

而是自己寫的.h檔 像是include "a.h" 會出現找不到a.h的錯誤

也有把cpp跟.h放在同一個資料夾了




不好意思..想請問大家有沒有解決辦法呢?

謝謝XD

--
Tags: Linux

All Comments

Ethan avatar
By Ethan
at 2011-05-29T05:12
最有可能的情形是你把檔名拼錯了. 檢查一下
Jessica avatar
By Jessica
at 2011-05-31T03:50
建議貼上程式碼、目錄結構以及錯誤訊息
Quintina avatar
By Quintina
at 2011-06-01T20:57
感覺沒有問題啊

ssh無法連線到自家主機的問題?

Dora avatar
By Dora
at 2011-05-26T23:53
連回自家主機如何正確的設定ip分享器? dns域名已開通(ping得到) 進入ip分享器設定虛擬伺服器 ip (區網第1台ip) 連接附範圍 21~23 協定 tcpandamp;udp ssh_config裡的port 22也開了 這樣不能遠端連線是哪裡有問題? - ...

Linux Mint 11 “Katya” released!

Isabella avatar
By Isabella
at 2011-05-26T22:25
官方發佈的消息如下面的網址 http://blog.linuxmint.com/?p=1760 請大家儘量使用 torrents 下載,有興趣的可以來玩玩看 若載點有問題,麻煩請告知,謝謝。 種子 http://linuxmint.ucla.tk/bt/linuxmint-11-gnome-dvd-32bi ...

date 輸出每個月的日期?

Thomas avatar
By Thomas
at 2011-05-26T22:24
其實跟coldnew的版本很像 部份簡化後附上簡易說明 如下: #!/bin/sh if [[ $1 == and#34;--helpand#34; ]]; then echo echo and#34;usage:and#34; echo echo and#34; mday --help ...

Buffer Overflow 產生的Segmentation Fault

Thomas avatar
By Thomas
at 2011-05-26T22:00
大家好, 小弟菜鳥正在學習緩衝(buffer)溢位(overflow)攻擊,依據書上的code想看看實 際運作情況…我知道Ubuntu至少有二種防止Buffer Overflow 的方式,所以我用了如下的 方式: Step 0: 關閉 random memory address scheme ...

ubuntu 的 make 不能用

Iris avatar
By Iris
at 2011-05-26T21:40
我的是 Ubuntu 10.10 我下載了一個 tar.gz的檔案 並且以 tar -zxvf 解壓縮好了 也確認資料夾中有 INSTALL Makefile 等等的檔案 但是每當我輸入 make 就會出現 make: *** No targets specified and no makefil ...