Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: compiling, What do I need?< Next Oldest | Next Newest >
RyuOniX Offline





Group: Members
Posts: 7
Joined: Aug. 2006
Posted: Dec. 09 2006,01:46 QUOTE

By the way... I have tried

#include <iostream>

and

#include </usr/include/c++/3.3/iostream>
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 09 2006,03:04 QUOTE

did you try #include <iostream.h> ?

EDIT: Oh...seems the c++ headers don't often use the .h suffix.
Ignore this as necessary.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Dec. 10 2006,16:41 QUOTE

Hi motokitn!

I just made a remaster that can be used for compiling. (It's found under Other help topics -> Remastering HOWTO ... on page 62) I incorporate the latest gcc1-with-libs.unc and gnu-utils.unc and got a pretty good compiling environment. RyuOniX when it comes to compile for example the well known "Hello World" program just save it in home/dsl as for example hello.cpp open a terminal and do the following:  g++ -o hello hello.cpp  . That will compile the program, I just tested it. Hope this is of any help.

Have fun with DSL,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
RyuOniX Offline





Group: Members
Posts: 7
Joined: Aug. 2006
Posted: Dec. 10 2006,23:44 QUOTE

Thanks Meo! It works like a charm!  ^_^
Back to top
Profile PM 
RyuOniX Offline





Group: Members
Posts: 7
Joined: Aug. 2006
Posted: Dec. 11 2006,00:17 QUOTE

By the way, is there a linux equivalent to the Win command PAUSE? I have enjoyed using it throughout my programs in the past so I hope that there is...
Back to top
Profile PM 
9 replies since Dec. 04 2006,04:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: compiling

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code