Go Back  
Reply
 
Thread Tools
Old 12-04-2011   #1
TizzyT
Homebrew Developer
 
TizzyT's Avatar
 
Join Date: Jul 2011
Location: USA-Unfortunately Sucks A$$
Posts: 1,839
Likes: 1,008
Liked 811 Times in 477 Posts
Mentioned: 160 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to TizzyT
Help suggest C++ compiler

Hi am good enough (in tutorials) in C++ currently that I think its time for me to get a compiler to install and use instead of using an online compiler. Is there any good compilers that any devs (or non-devs) would like to recommend to me???
I run windows so that is kind of a pre-requsite and also I like the realtime error detection thing that comes with visual studios 2010 (not required but would be nice to have). So yeah it also needs to be a freeware . Well hope some good suggestions can come my way....thanks to everyone in advance...
__________________
If you are going to promote TB at least do it right!!!, or better yet DON'T!!!

Last edited by TizzyT; 12-04-2011 at 10:06 PM.
TizzyT is offline   Reply With Quote
Old 12-04-2011   #2
jbald
Member
 
Join Date: Oct 2011
Location: Viçosa, Alagoas, Brazil
Posts: 145
Likes: 26
Liked 13 Times in 10 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Originally Posted by TizzyT View Post
Hi am good enough (in tutorials) in C++ currently that I think its time for me to get a compiler to install and use instead of using an online compiler. Is there any good compilers that any devs (or non-devs) would like to recommend to me???
I run windows so that is kind of a pre-requsite and also I like the realtime error detection thing that comes with visual studios 2010 (not required but would be nice to have). So yeah it also needs to be a freeware . Well hope some good suggestions can come my way....thanks to everyone in advance...
you can use the MinGW (that uses g++ compiler) toolchain for windows. after you can use the Eclipse IDE and configure it to use the MinGW env. it is like I use on my env.
jbald is offline   Reply With Quote
Old 12-04-2011   #3
afiser13
Member
 
Join Date: Apr 2008
Posts: 104
Likes: 20
Liked 20 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
gcc, literally the de facto compiler set.
afiser13 is offline   Reply With Quote
Old 12-04-2011   #4
TizzyT
Homebrew Developer
 
TizzyT's Avatar
 
Join Date: Jul 2011
Location: USA-Unfortunately Sucks A$$
Posts: 1,839
Likes: 1,008
Liked 811 Times in 477 Posts
Mentioned: 160 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to TizzyT
Originally Posted by jbald View Post
you can use the MinGW (that uses g++ compiler) toolchain for windows. after you can use the Eclipse IDE and configure it to use the MinGW env. it is like I use on my env.
Originally Posted by afiser13 View Post
gcc, literally the de facto compiler set.
First off I would like to thank you for the replies.

I was looking into using eclipse as an option as my friend that lives near me work with it for Java and he can show me the ropes.
GCC is something I hear a lot while looking for a C++ compiler but I know very little about it, I will do some research on the 2 and maybe get some more member's suggestions. I also have visual C++ in mind.
__________________
If you are going to promote TB at least do it right!!!, or better yet DON'T!!!
TizzyT is offline   Reply With Quote
Old 12-04-2011   #5
afiser13
Member
 
Join Date: Apr 2008
Posts: 104
Likes: 20
Liked 20 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
if you're used to using visual studios, then i suppose visual c++ would probably be the best fit for you.

the annoying thing about that is that you have to make sure anyone using any of your programs has the visual c++ redistributable installed on their system
afiser13 is offline   Reply With Quote
Old 12-04-2011   #6
richi902
Member
null
 
richi902's Avatar
 
Join Date: Nov 2011
Posts: 45
Likes: 1
Liked 4 Times in 4 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
visual studio ofcourse :P
__________________
Hey Ho Let's Go ! ! !
richi902 is offline   Reply With Quote
Old 12-04-2011   #7
TizzyT
Homebrew Developer
 
TizzyT's Avatar
 
Join Date: Jul 2011
Location: USA-Unfortunately Sucks A$$
Posts: 1,839
Likes: 1,008
Liked 811 Times in 477 Posts
Mentioned: 160 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to TizzyT
Originally Posted by afiser13 View Post
if you're used to using visual studios, then i suppose visual c++ would probably be the best fit for you.

the annoying thing about that is that you have to make sure anyone using any of your programs has the visual c++ redistributable installed on their system
yes that is annoying when people are on XP when my programs uses net framework...so your saying the other ones don't need any sort of framework installed to use?
__________________
If you are going to promote TB at least do it right!!!, or better yet DON'T!!!
TizzyT is offline   Reply With Quote
Old 12-04-2011   #8
KillerBug
Senior Member
 
KillerBug's Avatar
 
Join Date: Apr 2010
Posts: 2,322
Likes: 148
Liked 1,100 Times in 619 Posts
Mentioned: 85 Post(s)
Tagged: 0 Thread(s)
It really depends on what you are developing for. I use minGW + eclipse personally...but most of my development is stuff is for microcontrollers; not for GUI operating systems. I would steer clear of the Microsoft ones just because installation on the client PC can be problematic (even if they have the runtimes, they might be the wrong ones, they might be corrupt, etc)
__________________
KillerBug is offline   Reply With Quote
Old 12-04-2011   #9
TizzyT
Homebrew Developer
 
TizzyT's Avatar
 
Join Date: Jul 2011
Location: USA-Unfortunately Sucks A$$
Posts: 1,839
Likes: 1,008
Liked 811 Times in 477 Posts
Mentioned: 160 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to TizzyT
Originally Posted by KillerBug View Post
It really depends on what you are developing for. I use minGW + eclipse personally...but most of my development is stuff is for microcontrollers; not for GUI operating systems. I would steer clear of the Microsoft ones just because installation on the client PC can be problematic (even if they have the runtimes, they might be the wrong ones, they might be corrupt, etc)
LOL dam there really is a lot to choose from and each one really does have their ups and downs.....Hmm ok to restate my original request:
What C++ compiler would one recommend me using if I were following a C++ beginners tutorial. Something like this:

Code:
#include <iostream>
using namespace std;

int main ()
{
  // declaring variables:
  int a, b;
  int result;

  // process:
  a = 5;
  b = 2;
  a = a + 1;
  result = a - b;

  // print out the result:
  cout << result;

  // terminate the program:
  return 0;
}
Source of example is from a tutorial found here: http://www.cplusplus.com/doc/tutorial/

PS: I'm much further in the tutorial then the example given...lol.
Also I am currently only learning for CLI....will get to GUI when I get there lol.
************* [ - Post Merged - ] *************
Ehh I guess I'll give visual C++ a try first.....
__________________
If you are going to promote TB at least do it right!!!, or better yet DON'T!!!
TizzyT is offline   Reply With Quote
Old 12-05-2011   #10
advocatusdiaboli
Senior Member
 
advocatusdiaboli's Avatar
 
Join Date: Sep 2010
Location: /dev/random
Posts: 1,686
Likes: 424
Liked 270 Times in 170 Posts
Mentioned: 14 Post(s)
Tagged: 0 Thread(s)
Eclipse, Anjuta, Visual Studio, XCode and the likes are IDEs(Integrated Developing Environments ) not compilers.

Personally I prefer vim for all my text editing, until there was iPhone and syncing with addressbook, I used vim, also for contacts...
__________________
US 4USB ports OFW 3.15 PS Ubuntu
EU 4USB ports CFW 4.21.1 REX
There is only one OS; AmigaOS, the rest are just [l]imitations.

Last edited by advocatusdiaboli; 12-05-2011 at 01:22 AM.
advocatusdiaboli is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 03:29 PM.