Jump to content


Photo

C++ Compilers and Tutorials


  • Please log in to reply
15 replies to this topic

#1 Ben

Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 28 December 2006 - 11:59 PM

I've wanted to learn a desktop programming language for a while now, and I've picked C++ to start with. Yeah I know what your thinking, dont start with it, VB will be better! Well, I believe I can handle it, I mean I know most of the terms and how things work (such as for loops, if statements, etc) through MySQL, Actionscript, PHP, Javascript, etc. Problem is, I can't find any C++ compilers. I actually found one called Dev C++, but it doesn't seem to want to work when compiling. I google searched this but there are no answers. Does anyone know any good C++ compilers? Or beginner tutorials?

Thanks, Ben.

#2 Glasseater

Glasseater

    Young Padawan

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 29 December 2006 - 10:39 PM

I've been trying to get into C++ for a long time, and I've used a few different compilers with no luck, so this will help me too.

The one I have gotten to work is MinGW (DOS compiler) and Crimson Editor. However, this requires some skill to set up, and I don't remember how. Also, I haven't been able to get OpenGL to install properly and compile, but this is probably my own fault. I haven't tried DirectX yet, I'm just going to wait for my highschool programming class to get to C++ (we're stuck in Flash's ActionScript until February).

#3 Ben

Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 31 December 2006 - 02:34 AM

I wish my school taught Flash Actionscript <_<. My school is terrible... anyway, I had a look at some of the programs you listed, they're not really what I'm after, but if anyone can get Dev C++ working (theres a problem with a missing file called make.exe) that would be great. I hope we get a pro C++ coder in here.

Ben.

Edited by d4rkst0n3, 31 December 2006 - 02:35 AM.


#4 PSgirl

PSgirl

    P2L Staff

  • P2L Staff
  • PipPipPipPip
  • 2,056 posts
  • Gender:Female

Posted 01 January 2007 - 05:19 PM

I used Dev C++ two years ago when I was learning C++ and didn't have any problems.
Have you tried re-installing it?
And some tutorials here: http://www.pixel2lif...ials/c_general/

#5 Ben

Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 01 January 2007 - 11:10 PM

Yes I've tried reinstalling it, and even installing older versions, but nothings worked. There's like a file that doesn't show up, its called make.exe, and apparently its an important file in compiling.
Thanks for the help though.

Ben.

#6 Glasseater

Glasseater

    Young Padawan

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 02 January 2007 - 05:06 PM

Hm.. weird.. Dev C++ 5 beta works fine and so does 4.

I've switched back to Dev C++ too, it's just easier that way.

#7 Ben

Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 02 January 2007 - 08:25 PM

Do you think you could link me to where you downloaded it?

Ben.

#8 Hoot

Hoot

    * Hooty Tooty Fruit *

  • Members
  • PipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Canada
  • Interests:Making Websites, Working in 3D, Playing the Drums

Posted 03 January 2007 - 10:02 PM

A good C++ Compiler is Visual C++ 2005 Express Edition

Hoot

#9 dEcade

dEcade

    P2L Staff

  • P2L Staff
  • PipPipPipPip
  • 1,850 posts
  • Gender:Male
  • Location:Saskatoon, Saskatchewan
  • Interests:Guitar, Programming, Storm Chasing, Games (Designing and playing), Hockey, Photography

Posted 04 January 2007 - 06:53 PM

Do you think you could link me to where you downloaded it?

Ben.


Not sure if this is where they got theirs from but try this:

http://www.bloodshed.net/devcpp.html

or maybe

http://csjava.occ.cc...lberts/devcpp5/

I just searched Google.

dEcade

#10 Ben

Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 04 January 2007 - 07:04 PM

I can't even download it. Sourceforge keeps timing out...

Ben.

#11 Hoot

Hoot

    * Hooty Tooty Fruit *

  • Members
  • PipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Canada
  • Interests:Making Websites, Working in 3D, Playing the Drums

Posted 04 January 2007 - 09:36 PM

maybe try in a different browser or its your internet connection.

Hoot

#12 jhustified

jhustified

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 09 January 2007 - 05:31 PM

Hi, I'm just new to learning the basics of C++, i just want to know what do the tutorial means by "stream is manually flushed". Ive searched the internet and still I cant find the exact definition or use of "flush"

e.g
.
cout <<"This text will appear immediately after this instruction is executed!" <<flush;


can someone tell me what is the exact meaning and use of flush and what is the difference of this to endl?
thanks in advance..a reply would be appreciated!

Edited by jhustified, 09 January 2007 - 05:40 PM.


#13 Davey

Davey

    P2L Jedi

  • Members
  • PipPipPip
  • 620 posts
  • Location:Perth, Scotland
  • Interests:Creativity, Adrenaline, Etc

Posted 09 January 2007 - 06:42 PM

I can't even download it. Sourceforge keeps timing out...

Ben.



i just had a look on google and found this page... it says something about renaming the make file or something...

http://www.wxwidgets...und_during_make

# Notes:

* You may need to go into Tools|Compiler Options|Programs and change make.exe to mingw32-make.exe



#14 Ben

Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 09 January 2007 - 11:32 PM

Nevermind, I got it to download. I just selected a different mirror. And it works this time.

Ben.

#15 Glasseater

Glasseater

    Young Padawan

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 01 March 2007 - 12:05 AM

Sorry to dig up a stale topic, but I feel I need to update my response.

I've been using Dev C++ for a good 3 months now and haven't had any problems with compiling OpenGL programs. It's all I've been using lately, and most of the libraries you'll need/want are available in downloadable packages listed in the package manager dialogue.

Also, in response to Hoot's first post, Visual C++ 2005 might be a good point to start at, but it will annoy you once you get to graphics;

Current versions of DirectX 9 only support version 7 or greater. Support for VC 6 has been dropped completely. Even better, Visual Studio 2005 Express is completely free.


Drunken Hyena: DirectX 9 Tutorials - C++ - What you need.

Meaning if you want to program with VC++2005 you need to downgrade your DirectX SDK.

Hope that helps someone.

#16 joe

joe

    Young Padawan

  • Members
  • Pip
  • 115 posts
  • Location:stuck in the middle of cyber space

Posted 01 April 2007 - 12:29 PM

Hello everyone... :P ;)

I've used Dev-C++ for couple months ago... And honestly, it's good compiler...
But, why don't wxDev-C++ ?? It can use compiler : MingW / VC Express 2005.
Try to find it in sourceforge... sorry i can't give you an URL, coz my bandwith... :( :(

And for tutorial C++ URL : www.cprogramming.com

Hope i help you...

Joe

Edited by joe, 01 April 2007 - 12:31 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users