Jump to content
Sign in to follow this  
maniack

Semua Compiler C++ Berlainan?

Recommended Posts

aku ader download code c++ dr internet dan aku cuba compile gune Borland c++, ble build x der error, tp ble nk run x der display.. aku check include file dier sumer ader tp still x leh gk.. dengan blur yang amat sangat aku pon copy code dier dan compile gne visual c++ 2005 express edition pon x bley gk..

so adakah setiap compiler c++ adalah berlainan dan juga macamana aku nk gne code c++ yg aku amek dr internet? harap warga putera dapat membantu since thread ni asyik sunyi sepi je.. :blink:

Share this post


Link to post
Share on other sites

bukankah lebih baik kalau awak berikan details - kod camne yg awak compile, borland c++ maner yg awak guna, environment maner yg awak run, error messages yg kluar kalau ader. bleh laa orang bantu lebih banyak lagi..

tapi umumnya, setiap compiler C++ memang berbeza, bergantung kepada bila ia dikeluarkan.. ultimately, setiap compiler sepatutnya support ISO C++ standard.. but standard pun ader brape versi gak.. kalau awak tulis kod ikut standard classic C++ dan compiler support ader, memang takde masalah laa.

nak guna kod dari internet senang jer.. first kalau dia ader bagi readme ke aper2 merujuk kepada kod tu, silalah baca dan ikut kalau dia bagi rules. kalau tak tengok komen dalam source. jugak make sure awak tau kod tu untuk apa dan adakah ia dikhususkan untuk environment tertentu. Lastly, cuba compile dan fix setiap compilation errors dan repeat proses ni.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...