Southperry.net
Eclipse and C++: Am I doing something wrong? - Printable Version

+- Southperry.net (https://www.southperry.net)
+-- Forum: Social (https://www.southperry.net/forumdisplay.php?fid=14)
+--- Forum: Rubik's Cube (https://www.southperry.net/forumdisplay.php?fid=58)
+--- Thread: Eclipse and C++: Am I doing something wrong? (/showthread.php?tid=46957)



Eclipse and C++: Am I doing something wrong? - Jedward - 2011-09-14

I'm trying to write the classic Hello World in Eclipse so I can get used to this IDE. Thing is, it won't build anything because it doesn't recognize the simplest things, which is totally weird to me.

[Image: eclipseyu.png]


inb4 I am a total dumbass.

Thanks.


Eclipse and C++: Am I doing something wrong? - Kitteh - 2011-09-14

Well, it seems to be a common problem.

[URL="http://www.eclipse.org/forums/index.php/m/695945/"]Try reinstalling?

[/URL]The problem is you're not using code::blocks.


Eclipse and C++: Am I doing something wrong? - Kalovale - 2011-09-14

I gave up on C++ after running into this. I moved to Python, though, so I can't complain.


Eclipse and C++: Am I doing something wrong? - Suber - 2011-09-14

Same code works for me on Visual C++, maybe it's the IDE? Try downloading Microsoft Visual or Python and see if you get the same error.


Eclipse and C++: Am I doing something wrong? - Fiel - 2011-09-15

Use MSVC++ Express instead.


Eclipse and C++: Am I doing something wrong? - Jedward - 2011-09-15

Fiel Wrote:Use MSVC++ Express instead.
Thinking this because I had it installed and it works 100% fine.

I was trying Eclipse because that's what my prof uses.
But thanks.


Eclipse and C++: Am I doing something wrong? - Kalovale - 2011-09-15

I wanted to do Java, C++ and Jython all on Eclipse, but I guess you need different tools for different tasks.


Eclipse and C++: Am I doing something wrong? - Fiel - 2011-09-15

Try Netbeans, then.


Eclipse and C++: Am I doing something wrong? - Spaz - 2011-09-15

If you want to try getting Eclipse working, do you have the standard library in your include path? Otherwise Visual C++ Express is good.