Linux - Linux

Table of Contents

最近裝了ubuntu 8.10 想compile之前寫的c++程式

首先下載了

$ sudo ate-get install g++

也下載

$ sudo apt-get install build-essential

出現的錯誤訊息是無法找到iostream.h檔

之後我去/usr/include/c++/4.3.2的確沒有iostream.h檔

上網找解決方法有提到要再下載

$ sudo apt-get install libforms-dev

但還是沒有找問題解決

有人可以提供經驗嗎

謝謝!

--

All Comments

Hedwig avatarHedwig2009-01-17
不是都改成include <iostream>
Frederic avatarFrederic2009-01-20
我只裝build-essential就可以了耶
Kelly avatarKelly2009-01-23
回f大, 這樣會改很多..
Lucy avatarLucy2009-01-23
因為iostream只是其中一個檔
Tracy avatarTracy2009-01-25
我想你只要裝build-essential就好了...已有gcc和g++
Mason avatarMason2009-01-29
已經裝了,但還是不行...