Which is better to start out with/ write C++, Dev-C++ 5 (which is currently in beta) or Dev-C++ 4 (released for quite a time)? I'm noob, so i decided to start out with Dev-C++. Thanks in advance guys =)
Printable View
Which is better to start out with/ write C++, Dev-C++ 5 (which is currently in beta) or Dev-C++ 4 (released for quite a time)? I'm noob, so i decided to start out with Dev-C++. Thanks in advance guys =)
I use Dev 5 (Bloodshed). It is way better than Dev 4 which I started out on. I couldn't even get the debugger to work in Dev 4 (I don't think it was supposed to work). Anyways Dev 5 is awesome and really easy to use. Go with it.
Dev-C++ is no longer a supported IDE. You may want to switch to a more recent IDE, VC++ express, or Code::Blocks. They are both free, and much more up to date. I use Code::Blocks, which has nightly builds you can download on their site. So new bug fixes, and performance fixes just about every day.
DevC++ latest version : 6.10.2
Download from here : http://wxdsgn.sourceforge.net/index....c5241d64b0f0af
The IDE is much better than previous IDEs on www.bloodshed.net
If uou are a newcomer you can also use Visual Mingw Studio or Quincy 2005. But CODE BLOCKS is the best among all the free IDE available!
Erm..what is IDE? And da...is CODE BLOCKS much more better than Visual Mingw Studio or Quincy 2005 and DevC++ latest version : 6.10.2??? If it is, in what way is it more better? Once again, i thank u guys for helping me, who is a complete nub/noob/starter in programming stuff
PS: I just started to get interested in C++ a few month back....So i'm all new to it. If u guys have ANY advice for me, plz do tell me. I really do appreciate u guys for helping me =)
Itergrated Development Environment
Bundles and Editor, compiler, linker and debugger all into one
Watch out for the un-expected though, as ver 5 is still in beta.Quote:
I use Dev 5 (Bloodshed). It is way better than Dev 4 which I started out on. I couldn't even get the debugger to work in Dev 4 (I don't think it was supposed to work). Anyways Dev 5 is awesome and really easy to use. Go with it.
Its also serverly bugged when using the indirection operator with pointers.
I would personally recommend Code::Blocks. It is a very nice IDE(integrated developement enviroment). It also you to create your own plugins, has wxSmith which makes programming wxWidgets incredibly easier, and it is much easier to get into the hang of, compared to VC++ express, and other IDE's.
I highly recommend you use Microsoft Visual C++ express :) so you can experience the more professional one.
I would not recomend that for a beginner. It can be very confusing and typical full of MS addons and menus. Using somthing more light weight like Dev or even better as suggested code::blocks can ease a newbie into C/C++ much better than having to scan through 1000 menus to understand how the environemnt works. ( Ok, I over exaderated but you know what I mean )Quote:
I highly recommend you use Microsoft Visual C++ express
You have to turn off optimisations, for any debugger. (Well, any debugger that debugs programs compiled with GCC, I don't know about other compilers.) Otherwise the current line jumps around a lot. You know what I mean.Quote:
I couldn't even get the debugger to work in Dev 4 (I don't think it was supposed to work).
Personally I use both versions of Dev-C++ (4.0 and 4.9.something).
Version 4 is very old, and the C++ support for the MinGW compiler it comes with is pre-standard: it has no such thing as stringstreams, many things from iomanip are missing, and everything is in iostream.h while iostream is just a front end. However, it's great for C programming or not-so-advanced C++ programming (most of it works well, templates, the STL, exceptions, etc), and its executables are tiny.
This is why I use it. A Hello, World! program written in C is 4KB, a C++ one is less than 20KB. With Dev-C++ 4.9.X's compiler, the smallest program you can get is well over 100KB, I don't remember the exact size. The compiler options are identical, but you still get exponentially smaller executables with Dev-C++ 4.
And I use Dev-C++ 4.9.X because it's a nicer IDE and the compiler is more standards-compliant. iostream is the main header file, not iostream.h.
I also use the Cygwin GCC sometimes, because Cygwin comes with tons of command-line utilities and built-in libraries, like ncurses. I don't use Cygwin for my final releases, however, because you need cygwin.dll to run anything compiled with its GCC. cygwin.dll is almost a megabyte and doesn't compress that well.
Anyway. That's what I have to say.
Zomg, u guys are so helpful. I really love u guys xD Thanks for all the helpful replies, i would now like to change to CODE BLOCKS instead of Dev-C++ =)
Oh and by the way guys, can C++ be used to make Macros and bot programmes for games? Thanks again guys~
Bubba would know as would Dwks, but id guess "yes" as C++ is the main programming langauge used for games :)
I suspect it would depend heavily on the platform. C++ is fine for PCs and high-end consoles, but I would think C would be used on low-end platforms - like the Nintendo DS.Quote:
Originally Posted by swgh
Zomg, there's so many things to download in http://www.codeblocks.org/downloads.shtml . So which exactly should i download to start out with? And do i need to download Code::Blocks IDE, without compiler or Code::Blocks IDE, with MINGW compiler??
They said that: A bug has just been discovered in 1.0RC2 regarding the SVN plugin.
If you don't have the SVN versioning system installed on your machine, DO NOT install the SVN plugin, or Code::Blocks may crash. So what exactly is SVN versioning system and how do i know if my system have this programme?
They also have Code::Blocks IDE (Linux binaries and source RPM's). But they also added this: (Disclaimer: The Linux binaries are NOT official distributions - they're packages created by our users, located in our forums, so they're not guaranteed to work. But they will probably do.) So do i need to download this?
They have this as well: Code::Blocks Sources. It has .tgz format, Source .rpm and .spec file. One again, which do i need to download? Or shall i download them all the Code::Blocks Sources?
They have this too: Code::Blocks Development SDK. It says:For developing your own plugins, then there's the .tgz format. Do i need to download this too?
Lastly, there's MinGW Sources. Do i need to download em too?
Plus, there's Add-ons
Code::Blocks plugins, templates, and anything that helps you improve your programming experience. However, there's no files for the Third-party Plugins
and the Project Templates. What are these anyway?
Once again, i thank u guys for helpnig me out. I know i'm really a noob =\
I really do appreciate u guys for helpnig me out. Thanks~~~
Subversion (SVN) is a version control system. You probably do not have it installed, so do not install the plugin until you install it.Quote:
If you don't have the SVN versioning system installed on your machine, DO NOT install the SVN plugin, or Code::Blocks may crash. So what exactly is SVN versioning system and how do i know if my system have this programme?
Since you are using Windows, ignore the Linux downloads. Download a nightly build for Windows.
You probably want this one.
The link is here: http://prdownloads.sourceforge.net/c...w.exe?downloadQuote:
Code::Blocks IDE (Windows binaries)
Microsoft Windows installer for the Code::Blocks IDE.
----
Code::Blocks IDE, with MINGW compiler
Filesize: 13,597,181 Bytes | Version: 1.0rc2
MD5 Hash: 7638bdd4fd087b3168be4f0f968d1f3c
Actually you don't want that at all. You want one of the nightly builds. They're pretty stable as far as I can tell and more up-to-date.
I can't seems to download Nightly builds, cause they website says 'Under Construction' =( So which exatactly do i need to download?
So dwks says :
You probably want this one.
Quote:
Code::Blocks IDE (Windows binaries)
Microsoft Windows installer for the Code::Blocks IDE.
----
Code::Blocks IDE, with MINGW compiler
Filesize: 13,597,181 Bytes | Version: 1.0rc2
MD5 Hash: 7638bdd4fd087b3168be4f0f968d1f3c
The link is here: http://prdownloads.sourceforge.net/c...w.exe?download
So I should just download this compiler from this website? Is that enough? If it is, then i'll download it immediately and start learning C++ right away
Grab and extract these files into the same directory.
http://prdownload.berlios.de/codeblo...v3989_win32.7z
http://prdownload.berlios.de/codeblo...cc_cb_wx284.7z
http://prdownload.berlios.de/codeblocks/mingwm10.7z
Also don't right-click these links. Browse to them as they lead to a site where you choose a mirror.
You had chosen Dev 5, you would have been coding already. ;)
As far as Code::Blocks, I use it off and on, but I downloaded the last 'stable' version and have no desire to spend my limited free time beta testing (nightly builds).
Those builds aren't really buggy. At least not any more buggy than Dev-C++ 5 which is in itself a beta as well. :P
..... i downloaded the files which Frobozz asked me to. However, i can't seem to run the file...
Help guys? Which programme do i exactly needed? There's the screeny of it
Oh right sorry. I forgot to mention you need the 7-Zip archival tool to decompress them. I keep assuming everyone has a copy. :p
Thanks Frobozz, you really helped me out a lot. Erm...so what do i start out with? Is there any tutorials or recommandation of websites for tutorials???
I thank all who helped me out before. Thanks guys~
Also do you have a compiler installed? If not, just grab [url=http://downloads.sourceforge.net/mingw/MinGW-5.1.3.exe?modtime=1168794334&big_mirror=1]MinGW[/ur] and have it install to c:\mingw. That's the location that CodeBlocks defaults to looking for it.
Ah, 2 weeks of holiday, now i'm back xD
Ok, back to serious matter. I've downloaded the compiler that is being metioned by Frobozz. I'm still confused, what's a compiler? Isn't CODE::BLOCK a compiler already? And after i downloaded the compiler being mentioned by Frobozz, i can't seemed to find where's the tools to run. Can anyone help me please? Thanks. Oh, and by the way, i tried to read a C++ programming book, called Learn C++ From grounds up. It doesn't seemed helpful at all because its like only for applicable for window 95 =\
Code::Blocks is an IDE (Integrated Development Environment). I was under the impression that it came with a compiler already.
You should learn from a good book. See the C++ Book recommendations thread stickied to the top of the forum or do a search. I'd recommend You Can Do It! by Francis Glassborrow if you can find it.
Erm, so when i want to write C++ programme, which programme should i open? Is it CODE::BLOCK or what?
I've been using dev-c++ for years, I love it. Use visual studio 2005 at work, it's cool but it's a pain as far as I can tell to configure for standard c++, not '.net c++' which has different syntax and features. /annoying
if you want to do cross platform code and don't want to spend years adjusting settings and just learning the gui, get dev-c++. if you're doing .net programming get the visual studio compilers.
i'm not sure about the uhm... code::blocks it seems... odd, i just don't have a desire to leave dev-c++ i guess.
i've been using 4.9.9.1 all this time! gahd! *grabs v6* :)
either way the project is dead. I've been using code::blocks nightly, I used to use devC++ until I found it, in the short to long run it's a much better program than dev C++.
i've been looking over the site, screenshots and reading general opinions, hmm, might be convinced to finally install it... i'll try it out after work.