Looking For a Simple IDE for C++

Post » Wed Jul 27, 2011 4:56 pm

Hi all. I'm looking for a simple IDE for C++. i can't get visual C++ installed because I don't have the latest version of windows installer installed, I'm not really sure how to install it, and I'm having a hard time with eclipse. I also need it to work on linux as well is there an IDE someone could recommend me?
User avatar
Alexis Acevedo
 
Posts: 3330
Joined: Sat Oct 27, 2007 8:58 pm

Post » Wed Jul 27, 2011 7:31 am

Well, there's always Code::Blocks. Don't know of many that also run on Linux.. This one should, judging by the download links on the official site.
User avatar
Stacey Mason
 
Posts: 3350
Joined: Wed Nov 08, 2006 6:18 am

Post » Wed Jul 27, 2011 8:43 am

Ok any other suggestions for IDEs?
User avatar
Epul Kedah
 
Posts: 3545
Joined: Tue Oct 09, 2007 3:35 am

Post » Wed Jul 27, 2011 9:34 am

Code::Blocks or Visual C++ are the most commonly preferred ones, personally I use Visual Studio.
User avatar
Emily Graham
 
Posts: 3447
Joined: Sat Jul 22, 2006 11:34 am

Post » Wed Jul 27, 2011 11:35 am

Visual Studio is a great IDe though not for Linux. I think NetBeans supports C++ and I know it is on linux. I think also KomodoEdit is the same.
User avatar
Luis Reyma
 
Posts: 3361
Joined: Fri Nov 02, 2007 11:10 am

Post » Wed Jul 27, 2011 4:35 am

I currently use eclipse on my xubuntu machine and I wouldn't really recommend it. Compared to Visual Studio it's pretty terrible. I find it has a lot of performance issues, it tends to lock up temporarily fairly frequently for unknown reasons. I was never a fan of NetBeans on windows (again, not great compared to VS), but it may be a decent option on a linux machine. Code::Blocks is probably a good choice if you want something lightweight and simple, I might give it a go myself one of these days.
User avatar
Nina Mccormick
 
Posts: 3507
Joined: Mon Sep 18, 2006 5:38 pm

Post » Wed Jul 27, 2011 6:42 pm

Is there an IDE that works similar to visual studios or could I try running visual studios in WINE?
User avatar
El Goose
 
Posts: 3368
Joined: Sun Dec 02, 2007 12:02 am

Post » Wed Jul 27, 2011 8:28 pm

To be honest, Visual Studio is the best IDE I've ever used. Code::Blocks is a pretty good lightweight editor but I never really liked it.
User avatar
X(S.a.R.a.H)X
 
Posts: 3413
Joined: Tue Feb 20, 2007 2:38 pm

Post » Wed Jul 27, 2011 10:06 am

To be honest, Visual Studio is the best IDE I've ever used. Code::Blocks is a pretty good lightweight editor but I never really liked it.

Could I try running Visual Studios in WINE?
User avatar
willow
 
Posts: 3414
Joined: Wed Jul 26, 2006 9:43 pm

Post » Wed Jul 27, 2011 10:45 am

You can try but the newest version I believe uses WPF which will work poorly if at all under Wine.
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am

Post » Wed Jul 27, 2011 6:38 pm

You could go the old Vim/emacs + command-line way, but that'd take some getting used to. You could also just use a normal text editor like Gedit or Kate with the command-line. The only C++ IDE on linux that I liked was Code::Blocks. But I much prefer Visual Studio.
User avatar
Queen Bitch
 
Posts: 3312
Joined: Fri Dec 15, 2006 2:43 pm

Post » Wed Jul 27, 2011 11:44 am

Is there an IDE that works similar to visual studios. I tried code::blocks and netbeans and when I tried to write code in them they give me a ton of errors.
User avatar
Soph
 
Posts: 3499
Joined: Fri Oct 13, 2006 8:24 am

Post » Wed Jul 27, 2011 7:51 pm

Is there an IDE that works similar to visual studios. I tried code::blocks and netbeans and when I tried to write code in them they give me a ton of errors.

Are they compiler errors?
User avatar
benjamin corsini
 
Posts: 3411
Joined: Tue Jul 31, 2007 11:32 pm

Post » Wed Jul 27, 2011 10:54 am

You could go the old Vim/emacs + command-line way, but that'd take some getting used to. You could also just use a normal text editor like Gedit or Kate with the command-line. The only C++ IDE on linux that I liked was Code::Blocks. But I much prefer Visual Studio.

If he is trying to learn C++ he probably doesn't need to try and learn Vim at the same time. It is not fun.
User avatar
Sammygirl
 
Posts: 3378
Joined: Fri Jun 16, 2006 6:15 pm

Post » Wed Jul 27, 2011 8:37 pm

They gave me syntax errors and ERROR cout cannot be resolved
User avatar
lilmissparty
 
Posts: 3469
Joined: Sun Jul 23, 2006 7:51 pm

Post » Wed Jul 27, 2011 10:10 am

Well we're gonna need more info on the syntax errors. But the cout cannot be resolved error means you're either not including a #include somewhere OR not using a using namespace statement.

Example:
#include using namespace std;int main() {    cout << "Hello World";}


Edit: cout is a class. std is a namespace. cout is a part of the namespace std. You can also access cout by typing std::cout.
User avatar
Shannon Lockwood
 
Posts: 3373
Joined: Wed Aug 08, 2007 12:38 pm

Post » Wed Jul 27, 2011 2:24 pm

I typed both #include and using namespace std but it still gives me Error cout cannot be resolved.
User avatar
Euan
 
Posts: 3376
Joined: Mon May 14, 2007 3:34 pm

Post » Wed Jul 27, 2011 8:57 pm

I typed both #include and using namespace std but it still gives me Error cout cannot be resolved.

What was the syntax error then?
User avatar
Spencey!
 
Posts: 3221
Joined: Thu Aug 17, 2006 12:18 am

Post » Wed Jul 27, 2011 6:42 am

What was the syntax error then?

It was the hello world after cout.
User avatar
Anna S
 
Posts: 3408
Joined: Thu Apr 19, 2007 2:13 am

Post » Wed Jul 27, 2011 5:46 am

Could you post your code exactly how it is?
User avatar
Love iz not
 
Posts: 3377
Joined: Sat Aug 25, 2007 8:55 pm

Post » Wed Jul 27, 2011 5:37 pm

#include
using namespace std;

void main(){
cout<<"Hello World"<}

It said both cout and endl could not be resolved. I forgot to mention that I wrote this in Eclipse.
User avatar
lolli
 
Posts: 3485
Joined: Mon Jan 01, 2007 10:42 am

Post » Wed Jul 27, 2011 11:23 am

I typed both #include and using namespace std but it still gives me Error cout cannot be resolved.

did you mix up the {} and () ?
looks like you didn't mix them up

you might need to install the libraries associated with c++, no clue what they would be called though
User avatar
Thomas LEON
 
Posts: 3420
Joined: Mon Nov 26, 2007 8:01 am

Post » Wed Jul 27, 2011 4:22 pm

libstdc++ i think
User avatar
Jessica Nash
 
Posts: 3424
Joined: Tue Dec 19, 2006 10:18 pm

Post » Wed Jul 27, 2011 12:29 pm

Is this the reason why I have been getting so many cannot be resolved and syntax errors?
User avatar
Judy Lynch
 
Posts: 3504
Joined: Fri Oct 20, 2006 8:31 am

Post » Wed Jul 27, 2011 6:01 pm

Syntax errors aren't from the lack of the library. The cannot be resolved errors would be though.
User avatar
Max Van Morrison
 
Posts: 3503
Joined: Sat Jul 07, 2007 4:48 pm

Next

Return to Othor Games