Jump to content
nec2020

Mana Nak Nak Download Borland Turbo C++

Recommended Posts

Aku baru nak belajar C++ tp aku x dapat nak cari software dia.mana tempat boleh aku download softeware tu.aku dah cari dalam laman web borland tp x jumpa.tolong la.

Share this post


Link to post
Share on other sites

gune nih jer.................open source....

dev-c++ - http://www.bloodshed.net/

yap. dev c++ semacam vc 6.0

tapi kalau ada duit, beli vstudio .net 2003(pastikan ada msdn, kalau takde beli je latest standalone msdn). walaupun dev c++ ada ide yang ok, tapi help system dia masih lagi kureng. jadi untuk beginner, elok kalau ide ada help system yang lengkap(cth visual studio produk line). tapi kalau baru belajar c++, nak belajar kompil guna command line, bolehlah download borland c++ compiler free kat website dia. kalau nak cari kompiler lain, pun boleh. ada banyak compiler free kat internet(mingw, cygwin, intel dll). katalah tak tau nak pilih compiler yang mana, kenalpasti library yang akan digunakan(opengl dsb) dan pastikan kompiler ada support library tersebut atau tidak. vice versa.

Share this post


Link to post
Share on other sites

ikot pendapat aku laa....

aku rase baek ko gune dev c++ la mule-mule.......dev-c++ nih mmg strict sket...

kire ikot btol laa ansi c++ ..kalo tak mmg die xkan run....

kalo visual c++ die tok kesah skek..........

aku mule mule blaja pon gune dev c++ jer......

cth:

visual c++

#include <iostream.h>

main()

{

cout<<"hello";

return 0;

}

dev c++

#include <iostream>

#include <cstdlib> <- untok fungsi system("pause")

using namespace std; //kene letak nih kalo malas nak tulih std:: ntok setiap fungsi cam cout,cin,dll

main()

{

cout<<"hello";

system("pause"); //ntok pausekan jap bg kite bleh tgk ouput die....kalo tak x dpt tgk

return 0;

}

mengenai using namespace std;

copy dr : http://lists.gnu.org/archive/html/adonthel...2/msg00038.html

It's considered bad form to use "using namespace <blah>;" in a header file, because it then introduces all of the functions, variables, and classes of that namespace into global namespace. 

Which not only defeats the purpose of namespace's it clutters the global

namespace. 

Consider doing one of the following things.

1) the best solution would be to append std::<blah> to everything that needs

it in both the header and implementation file.  However  "using namespace

std;" in the source file,  isn't too bad. Because it's only that file which

has the polluted namespace.

2) put "using namespace std::cout;" or "using namespace std:iostream;". 

however this is just less of the same bad form.  It only pollutes the global

namespace with those two ... etc....

Edited by magnitogorsk.2560-c

Share this post


Link to post
Share on other sites

setahu aku kalau tak ada .h tu adalah header file utk C++ dan yg ada .h tu header utk C.. kalau code mmg dlm C++, dan intended to be compiled by C++ compiler, gunakanlah header files yg tiada .h ..<stdio.h> equivalentnya <cstdio>, <string.h> jadi <cstring> ..

code utk Dev-C++ yg ditulis oleh magnitogorsk.2560-c tu boleh juga run dlm VC++ (tapi kena panggil header stdlib, system() tu dari stdlib kalau tak silap)..

Share this post


Link to post
Share on other sites

ye mmg.............

yg header ader .h tuh utk c........tp visual c++ die ignore kan jek......

kalo dev C++ mmg die bg error

kode tu pon boley gak tulih kat visual c++.....

oo....lupe.......aku lupe ltk kat header cstdlib...

Edited by magnitogorsk.2560-c

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...

×
×
  • Create New...